1 # TLS server: mandatory, optional, and revoked certificates
3 exim -DSERVER=server -bd -oX PORT_D
5 # No certificate, certificate required
6 client-gnutls HOSTIPV4 PORT_D
17 # No certificate, certificate optional at TLS time, required by ACL
18 client-gnutls 127.0.0.1 PORT_D
30 mail from:<userx@test.ex>
32 rcpt to:<userx@test.ex>
37 # Good certificate, certificate required
38 client-gnutls HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2
48 mail from:<userx@test.ex>
50 rcpt to:<userx@test.ex>
55 # Good certificate, certificate optional at TLS time, checked by ACL
56 client-gnutls 127.0.0.1 PORT_D aux-fixed/cert2 aux-fixed/cert2
66 mail from:<userx@test.ex>
68 rcpt to:<userx@test.ex>
73 # Bad certificate, certificate required
74 client-gnutls HOSTIPV4 PORT_D aux-fixed/cert1 aux-fixed/cert1
85 # Bad certificate, certificate optional at TLS time, reject at ACL time
86 client-gnutls 127.0.0.1 PORT_D aux-fixed/cert1 aux-fixed/cert1
96 mail from:<userx@test.ex>
98 rcpt to:<userx@test.ex>
105 exim -DCRL=DIR/aux-fixed/crl.pem -DSERVER=server -bd -oX PORT_D
107 # Good but revoked certificate, certificate required
108 client-gnutls HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2
119 # Revoked certificate, certificate optional at TLS time, reject at ACL time
120 client-gnutls 127.0.0.1 PORT_D aux-fixed/cert1 aux-fixed/cert1
130 mail from:<userx@test.ex>
132 rcpt to:<userx@test.ex>