https://bugs.openldap.org/show_bug.cgi?id=10094
Issue ID: 10094 Summary: When TLSv1.3 only are set TLS connection does not work Product: OpenLDAP Version: 2.5.12 Hardware: All OS: All Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: slapd Assignee: bugs@openldap.org Reporter: nikigen68@gmail.com Target Milestone: ---
The configuration with only TLSv1.3 ciphers does not work
/etc/openldap/ldap.conf ... TLS_CIPHER_SUITE TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:TLS_AES_128_CCM_8_SHA256:TLS_AES_128_CCM_SHA256 TLS_PROTOCOL_MIN 3.4
Configuration works only if at least one TLSv1.2 cipher suite is added. Then TLSv1.3 cipher is negotiated with the server.
Is there a known issue?
https://bugs.openldap.org/show_bug.cgi?id=10094
--- Comment #1 from nikigen68@gmail.com --- Created attachment 977 --> https://bugs.openldap.org/attachment.cgi?id=977&action=edit Wireshark image of the TLS connection
SSL Continuation Data message noticed instead of Client Hello
https://bugs.openldap.org/show_bug.cgi?id=10094
--- Comment #2 from nikigen68@gmail.com --- Could be related to already solved issue: https://bugs.openldap.org/show_bug.cgi?id=10035
https://bugs.openldap.org/show_bug.cgi?id=10094
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FEEDBACK Status|UNCONFIRMED |RESOLVED Keywords|needs_review |
--- Comment #3 from Quanah Gibson-Mount quanah@openldap.org --- Can you confirm that the fix for #10035 resolves the issue?
https://bugs.openldap.org/show_bug.cgi?id=10094
--- Comment #4 from nikigen68@gmail.com --- The issue is still seen on 2.5.16
https://bugs.openldap.org/show_bug.cgi?id=10094
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Resolution|FEEDBACK |--- Status|RESOLVED |CONFIRMED
--- Comment #5 from Howard Chu hyc@openldap.org --- I've reproduced this issue. Will work up a fix.
https://bugs.openldap.org/show_bug.cgi?id=10094
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |IN_PROGRESS
--- Comment #6 from Howard Chu hyc@openldap.org --- Fix in https://git.openldap.org/openldap/openldap/-/merge_requests/654
Please test, thanks.
https://bugs.openldap.org/show_bug.cgi?id=10094
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@openldap.org |hyc@openldap.org Target Milestone|--- |2.5.17
https://bugs.openldap.org/show_bug.cgi?id=10094
--- Comment #7 from nikigen68@gmail.com --- With fix everything seems fine when only TLSv1.3 are used but the problem is when TLSv1.2 are there. It seems that all supported TLSv1.2 are in the list even though only few of them are in the configuration file.
For example: # cat /etc/openldap/ldap.conf # This configuration file is generated by semc REFERRALS no TIMEOUT 3 TLS_CIPHER_SUITE ECDHE-ECDSA-AES256-GCM-SHA384:TLS_AES_128_GCM_SHA256 TLS_PROTOCOL_MIN 3.3
# see attached cipher_list picture to see the wireshark output
https://bugs.openldap.org/show_bug.cgi?id=10094
--- Comment #8 from nikigen68@gmail.com --- Created attachment 986 --> https://bugs.openldap.org/attachment.cgi?id=986&action=edit Only one TLSv1.2 and TLSv1.3 cipher is set, while in wireshark we can see all supported TLSv1.2 ciphers
https://bugs.openldap.org/show_bug.cgi?id=10094
--- Comment #9 from Howard Chu hyc@openldap.org --- Thanks, MR updated. Please try again.
https://bugs.openldap.org/show_bug.cgi?id=10094
--- Comment #10 from nikigen68@gmail.com --- Thanks. It works!
https://bugs.openldap.org/show_bug.cgi?id=10094
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |TEST Status|IN_PROGRESS |RESOLVED
--- Comment #11 from Quanah Gibson-Mount quanah@openldap.org --- head:
• 8c482cec by Howard Chu at 2023-10-20T16:33:02+00:00 ITS#10094 libldap/OpenSSL: fix setting ciphersuites
https://bugs.openldap.org/show_bug.cgi?id=10094
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|TEST |FIXED
--- Comment #12 from Quanah Gibson-Mount quanah@openldap.org --- RE26:
• 70be1f17 by Howard Chu at 2024-01-11T21:55:59+00:00 ITS#10094 libldap/OpenSSL: fix setting ciphersuites
RE25:
• a15bef27 by Howard Chu at 2024-01-11T21:56:45+00:00 ITS#10094 libldap/OpenSSL: fix setting ciphersuites
https://bugs.openldap.org/show_bug.cgi?id=10094
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED