ATRN customer
[exim.git] / test / scripts / 1100-Basic-TLS / 1102
index 862d26a6ec25be58d40708ab101c36c1db1019f3..a29ef0ba43c7a023e083ecade4c68c4f754363fb 100644 (file)
@@ -1,9 +1,8 @@
 # TLS server: creds caching
 #
 # TLS server: creds caching
 #
-#
 mkdir -p DIR/tmp/certs
 mkdir -p DIR/tmp/certs
-cp DIR/aux-fixed/cert1 DIR/tmp/certs/servercert
-cp DIR/aux-fixed/cert1 DIR/tmp/certs/serverkey
+cp DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.pem            DIR/tmp/certs/servercert
+cp DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key   DIR/tmp/certs/serverkey
 #
 #exim -d-all+tls+receive+timestamp -DSERVER=server -bd -oX PORT_D
 exim -DSERVER=server -bd -oX PORT_D
 #
 #exim -d-all+tls+receive+timestamp -DSERVER=server -bd -oX PORT_D
 exim -DSERVER=server -bd -oX PORT_D
@@ -24,10 +23,10 @@ QUIT
 ??? 221
 ****
 sleep 1
 ??? 221
 ****
 sleep 1
-# Now overwrite the cert.  key?
-cp DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.pem DIR/tmp/certs/servercert
-cp DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key DIR/tmp/certs/serverkey
-# The watch mech waits 5 sec after the last trigger, so give that time to expire the send another message
+# Now overwrite the cert
+cp DIR/aux-fixed/exim-ca/example.net/server1.example.net/server1.example.net.pem            DIR/tmp/certs/servercert
+cp DIR/aux-fixed/exim-ca/example.net/server1.example.net/server1.example.net.unlocked.key   DIR/tmp/certs/serverkey
+# The watch mech waits 5 sec after the last trigger, so give that time to expire then send another message
 sleep 7
 client-anytls 127.0.0.1 PORT_D
 ??? 220
 sleep 7
 client-anytls 127.0.0.1 PORT_D
 ??? 220