diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2014-10-16 19:11:45 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2014-10-16 19:11:45 +0100 |
commit | a7fec7a71987d40dc09601ae33902d0a761887b9 (patch) | |
tree | 50670d515f852f9893c723c355ec80199c3bc20d /test/scripts/2000-GnuTLS | |
parent | fe245072af3fdc4440da6cff246ac203a2759b09 (diff) |
Handle certificate dir under GnuTLS, if recent enough
Add testcases for certificate directories
The GnuTLS implementation has been tested on Fedora 21 (alpha),
using GnuTLS 3.3.9. The testsuite case is here but with the
script commented-out. When enabled, the log/mail/stdout/stderr
files will be created fresh.
Diffstat (limited to 'test/scripts/2000-GnuTLS')
-rw-r--r-- | test/scripts/2000-GnuTLS/2032 | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/test/scripts/2000-GnuTLS/2032 b/test/scripts/2000-GnuTLS/2032 new file mode 100644 index 000000000..88c0e8ac9 --- /dev/null +++ b/test/scripts/2000-GnuTLS/2032 @@ -0,0 +1,95 @@ +# TLS server: server ca cert from directory +# - tests all disabled until GnuTLS 3.3.6 (or later) is in common use +# - or we get a library-version dependency mechanism in the testsuite +# +#gnutls +#exim -DSERVER=server -bd -oX PORT_D +#**** +#client-gnutls 127.0.0.1 PORT_D +#??? 220 +#ehlo rhu.barb +#??? 250- +#??? 250- +#??? 250- +#??? 250- +#??? 250- +#??? 250 +#starttls +#??? 220 +#mail from:<CALLER@test.ex> +#??? 250 +#rcpt to:<CALLER@test.ex> +#??? 250 +#DATA +#??? 3 +#This is a test encrypted message. +#. +#??? 250 +#quit +#??? 221 +#**** +#client-gnutls 127.0.0.1 PORT_D +#??? 220 +#ehlo rhu.barb +#??? 250- +#??? 250- +#??? 250- +#??? 250- +#??? 250- +#??? 250 +#starttls +#??? 220 +#mail from:<"name with spaces"@test.ex> +#??? 250 +#rcpt to:<CALLER@test.ex> +#??? 250 +#DATA +#??? 3 +#This is a test encrypted message. +#. +#??? 250 +#quit +#??? 221 +#**** +#client-gnutls HOSTIPV4 PORT_D +#??? 220 +#ehlo rhu.barb +#??? 250- +#??? 250- +#??? 250- +#??? 250- +#??? 250- +#??? 250 +#starttls +#??? 220 +#**** +#client-gnutls HOSTIPV4 PORT_D DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.pem DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key +#??? 220 +#ehlo rhu.barb +#??? 250- +#??? 250- +#??? 250- +#??? 250- +#??? 250- +#??? 250 +#starttls +#??? 220 +#mail from:<CALLER@test.ex> +#??? 250 +#rcpt to:<CALLER@test.ex> +#??? 250 +#DATA +#??? 3 +#This is a test encrypted message from a verified host. +#. +#??? 250 +#quit +#??? 221 +#**** +#killdaemon +#exim -qf +#**** +#exim -bh 10.0.0.1 +#starttls +#quit +#**** |