diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2020-12-09 15:11:45 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2020-12-09 15:29:59 +0100 |
commit | 51df40cf82c67ae828c325a42e28b3155fce9864 (patch) | |
tree | 7c55c9f424aa3171496e37445f8a0e67193df139 /tests/tls-rsa+ecdsa/remote.conf | |
parent | 83f85ee3a6fde64a0809180a13e0cc8a3d703bca (diff) |
New test with a server offering both RSA+ECDSA certificates.
This requires dovecot-imapd 2.2.31 or later.
Certificate generated with:
$ openssl genpkey -algorithm EC -pkeyopt ec_paramgen_curve:P-256 -pkeyopt ec_param_enc:named_curve \
-out tests/snippets/dovecot/dovecot.ecdsa.key
$ openssl req -x509 -days 3650 -subj "/CN=InterIMAP test suite" \
-key tests/snippets/dovecot/dovecot.ecdsa.key \
-out tests/snippets/dovecot/dovecot.ecdsa.crt
Diffstat (limited to 'tests/tls-rsa+ecdsa/remote.conf')
-rw-r--r-- | tests/tls-rsa+ecdsa/remote.conf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/tls-rsa+ecdsa/remote.conf b/tests/tls-rsa+ecdsa/remote.conf new file mode 100644 index 0000000..72ca135 --- /dev/null +++ b/tests/tls-rsa+ecdsa/remote.conf @@ -0,0 +1,5 @@ +!include conf.d/imapd.conf +!include conf.d/ssl.conf + +ssl_alt_cert = <conf.d/dovecot.ecdsa.crt +ssl_alt_key = <conf.d/dovecot.ecdsa.key |