1 # TLS server: mandatory, optional, and revoked certificates
2 exim -DSERVER=server -bd -oX PORT_D
4 ### No certificate, certificate required
5 client-ssl HOSTIPV4 PORT_D
17 ### No certificate, certificate optional at TLS time, required by ACL
18 client-ssl 127.0.0.1 PORT_D
31 mail from:<userx@test.ex>
33 rcpt to:<userx@test.ex>
38 ### Good certificate, certificate required
39 client-ssl HOSTIPV4 PORT_D aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.chain.pem aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key
50 mail from:<userx@test.ex>
52 rcpt to:<userx@test.ex>
57 ### Good certificate, certificate optional at TLS time, checked by ACL
58 client-ssl 127.0.0.1 PORT_D aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.chain.pem aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key
69 mail from:<userx@test.ex>
71 rcpt to:<userx@test.ex>
76 ### Bad certificate, certificate required
77 client-ssl HOSTIPV4 PORT_D aux-fixed/exim-ca/example.net/server1.example.net/server1.example.net.chain.pem aux-fixed/exim-ca/example.net/server1.example.net/server1.example.net.unlocked.key
89 ### Bad certificate, certificate optional at TLS time, reject at ACL time
90 client-ssl 127.0.0.1 PORT_D aux-fixed/exim-ca/example.net/server1.example.net/server1.example.net.chain.pem aux-fixed/exim-ca/example.net/server1.example.net/server1.example.net.unlocked.key
101 mail from:<userx@test.ex>
103 rcpt to:<userx@test.ex>
113 exim -DCRL=DIR/aux-fixed/exim-ca/example.com/CA/crl.chain.pem -DSERVER=server -bd -oX PORT_D
115 ### Otherwise good but revoked certificate, certificate required
116 client-ssl HOSTIPV4 PORT_D aux-fixed/exim-ca/example.com/revoked1.example.com/revoked1.example.com.chain.pem aux-fixed/exim-ca/example.com/revoked1.example.com/revoked1.example.com.unlocked.key
128 ### Revoked certificate, certificate optional at TLS time, reject at ACL time
129 client-ssl 127.0.0.1 PORT_D aux-fixed/exim-ca/example.com/revoked1.example.com/revoked1.example.com.chain.pem aux-fixed/exim-ca/example.com/revoked1.example.com/revoked1.example.com.unlocked.key
140 mail from:<userx@test.ex>
142 rcpt to:<userx@test.ex>
147 ### Good certificate, certificate required - but nonmatching CRL also present
148 client-ssl HOSTIPV4 PORT_D aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.chain.pem aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key
159 mail from:<userx@test.ex>
161 rcpt to:<userx@test.ex>