Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
If we try to use dovecot with TLS v1.3, it fails to accept connections.
Version-Release number of selected component (if applicable):
dovecot-2.2.36-5.el8_0.1.x86_64
How reproducible:
always
Steps to Reproduce:
1. modify /etc/dovecot/conf.d/10-ssl.conf with: ssl_protocols = TLSv1.2 TLSv1.3
2. systemctl restart dovecot
3. openssl s_client -connect localhost:993
Actual results:
dovecot[14857]: imap-login: Fatal: Unknown ssl_protocols setting: Unrecognized protocol 'TLSv1.3'
Expected results:
connection ok
Additional info:
CONNECTED(00000003)
write:errno=104
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 0 bytes and written 336 bytes
Verification: OK
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 0 (ok)
---
I believe I did not make this clear, if I replace the "TLSv1.3" setting with "TLSv1.2" then the connection is successful and shows the following:
Post-Handshake New Session Ticket arrived:
SSL-Session:
Protocol : TLSv1.3
Cipher : TLS_AES_256_GCM_SHA384
For some reason, focing TLS v1.2 results in v1.3.
Bug or "feature"?
dovecot on RHEL8 has been updated to v2.3.8
Part of the update include changes to protocol setting
"ssl_protocols setting was replaced by ssl_min_protocol. Now you only specify the minimum ssl protocol version Dovecot accepts, defaulting to TLSv1."
Modulo the limits enforced by crypto-policies simply setting "ssl_min_protocol = TLSv1.2" should give the desired result.