1 # TLS server: creds caching
4 cp DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.pem DIR/tmp/certs/servercert
5 cp DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key DIR/tmp/certs/serverkey
7 #exim -d-all+tls+receive+timestamp -DSERVER=server -bd -oX PORT_D
8 exim -DSERVER=server -bd -oX PORT_D
10 client-anytls 127.0.0.1 PORT_D
19 RCPT TO:test@example.com
26 # Now overwrite the cert
27 cp DIR/aux-fixed/exim-ca/example.net/server1.example.net/server1.example.net.pem DIR/tmp/certs/servercert
28 cp DIR/aux-fixed/exim-ca/example.net/server1.example.net/server1.example.net.unlocked.key DIR/tmp/certs/serverkey
29 # The watch mech waits 5 sec after the last trigger, so give that time to expire then send another message
31 client-anytls 127.0.0.1 PORT_D
40 RCPT TO:test@example.com