X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/131c0f8aad2e08201a3977401f15dfd2b5127b69..dde9989b7d8e04baa017b2537cc2614f75b4362f:/test/scripts/2100-OpenSSL/2102 diff --git a/test/scripts/2100-OpenSSL/2102 b/test/scripts/2100-OpenSSL/2102 index bdf5496f6..3904c5098 100644 --- a/test/scripts/2100-OpenSSL/2102 +++ b/test/scripts/2100-OpenSSL/2102 @@ -1,5 +1,11 @@ # TLS server: general ops and certificate extractions -exim -DSERVER=server -bd -oX PORT_D +# +# NOTE: current OpenSSL libraries return faulty my-cert information +# when more than one is loaded, which the conf for this testcase does. +# As a result the expansion done and logged is misleading. +# +# Make RSA authentication the only acceptable +exim -DSERVER=server -DORDER=RSA -bd -oX PORT_D **** client-ssl 127.0.0.1 PORT_D ??? 220 @@ -87,6 +93,36 @@ quit ??? 221 **** killdaemon +# +# make ECDSA authentication preferred +# DEFAULT:+RSA should work but does not seem to +exim -DSERVER=server -DORDER=ECDSA:RSA:!COMPLEMENTOFDEFAULT -bd -oX PORT_D +**** +client-ssl 127.0.0.1 PORT_D +??? 220 +ehlo rhu.barb +??? 250- +??? 250- +??? 250- +??? 250- +??? 250- +??? 250 +starttls +??? 220 +mail from: +??? 250 +rcpt to: +??? 250 +DATA +??? 3 +This is a test encrypted message. +It should be sent under the EC server cert and with an ECDSA cipher. +. +??? 250 +quit +??? 221 +**** +killdaemon exim -qf **** exim -bh 10.0.0.1