diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2021-07-18 00:15:01 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2021-07-18 13:23:11 +0100 |
commit | c4b4086235b1d5e21fcf1ad72a1b05813e15dcbd (patch) | |
tree | b2e3301128b2e35510dfc1b563d9b41581d40439 /test/scripts/2100-OpenSSL | |
parent | f7ea5ba1049ba2a53b8cb0bf98893bff6c6bc77f (diff) |
TLS: ALPN options
Diffstat (limited to 'test/scripts/2100-OpenSSL')
-rw-r--r-- | test/scripts/2100-OpenSSL/2138 | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/test/scripts/2100-OpenSSL/2138 b/test/scripts/2100-OpenSSL/2138 new file mode 100644 index 000000000..7dadb3051 --- /dev/null +++ b/test/scripts/2100-OpenSSL/2138 @@ -0,0 +1,35 @@ +# TLS: ALPN: mandatory +# +# Plain server +exim -DSERVER=server -bd -oX PORT_D +**** +# Client requires ALPN (success) +exim -DCONTROL=smtp -DREQUIRE=y -odf client_require@test.ex +**** +killdaemon +# +# Server can be told to ignore (bad) ALPN from client +exim -DSERVER=server -DSTRICT="" -bd -oX PORT_D +**** +# Client requires ALPN (fail) +exim -DCONTROL=http -DREQUIRE=y -odf client_require_fail@test.ex +**** +exim -Mrm $msg1 +**** +sudo rm -f DIR/spool/db/retry +killdaemon +# +# +# Server can be told ALPN mandatory +exim -DSERVER=server -DREQUIRE=y -bd -oX PORT_D +**** +# Client supplies ALPN, good +exim -DCONTROL=smtp -odf server_require_good@test.ex +**** +# Client does not supply ALPN, fails +exim -odf server_require_bad@test.ex +**** +killdaemon +# +no_msglog_check +no_stdout_check |