1 # TLS server: general ops and certificate extractions
3 exim -DSERVER=server -bd -oX PORT_D
5 client-gnutls 127.0.0.1 PORT_D
16 mail from:<CALLER@test.ex>
18 rcpt to:<CALLER@test.ex>
22 This is a test encrypted message.
28 client-gnutls 127.0.0.1 PORT_D
39 mail from:<"name with spaces"@test.ex>
41 rcpt to:<CALLER@test.ex>
45 This is a test encrypted message.
51 client-gnutls HOSTIPV4 PORT_D
63 client-gnutls HOSTIPV4 PORT_D DIR/aux-fixed/exim-ca/example.com/server2.example.com/server2.example.com.pem DIR/aux-fixed/exim-ca/example.com/server2.example.com/server2.example.com.unlocked.key
74 mail from:<CALLER@test.ex>
76 rcpt to:<CALLER@test.ex>
80 This is a test encrypted message from a verified host.
88 # A client that only talks RSA.
90 # We have to specify the key-exchange as well as the authentication, otherwise,
91 # the GnuTLS server side being foolish - it picks an ECDSA cipher-suite and then can't use it :(
92 # Possibly fixed in 3.6.x ?
93 client-gnutls -p NONE:+SIGN-RSA-SHA256:+VERS-TLS-ALL:+ECDHE-RSA:+DHE-RSA:+RSA:+CIPHER-ALL:+MAC-ALL:+COMP-NULL:+CURVE-ALL:+CTYPE-X509 127.0.0.1 PORT_D
104 mail from:<CALLER@test.ex>
106 rcpt to:<CALLER@test.ex>
110 This is a test encrypted message.
111 It should be sent under the RSA server cert and with an RSA cipher.
119 # Make ECDSA authentication preferred (normally RSA is, it seems).
120 client-gnutls -p NONE:+SIGN-ECDSA-SHA512:+VERS-TLS-ALL:+KX-ALL:+CIPHER-ALL:+MAC-ALL:+COMP-NULL:+CURVE-ALL:+CTYPE-X509 127.0.0.1 PORT_D
131 mail from:<CALLER@test.ex>
133 rcpt to:<CALLER@test.ex>
137 This is a test encrypted message.
138 It should be sent under the EC server cert and with an ECDSA cipher.