Repository navigation
squid: rgw/beast: add ssl_ciphersuites option for tls 1.3 - #69179
Conversation
the existing ssl_ciphers option is passed to `SSL_CTX_set_cipher_list()` which only applies to "TLSv1.2 and below". there's a separate `SSL_CTX_set_ciphersuites()` for TLSv1.3 because the frontend's default configuration for `ssl_options` accepts both 1.2 and 1.3, users may need to specify ciphers for each. that's why `ssl_ciphersuites` is introduced as a separate option Fixes: https://tracker.ceph.com/issues/76578 Signed-off-by: Casey Bodley <[email protected]> (cherry picked from commit c62f537) Conflicts: doc/radosgw/frontends.rst openssl -> OpenSSL src/rgw/rgw_asio_frontend.cc no tls_groups on squid
There was a problem hiding this comment.
Automated Backport Parity Review - Backport Deviation Alert
A conflict or unapproved deviation was detected during the simulation of this backport. The code in this PR does not match a clean cherry-pick of the upstream commits.
Deviation in Backport e7c252e (cherry-pick of c62f537f)
Affected File(s)
doc/radosgw/frontends.rstsrc/rgw/rgw_asio_frontend.cc
Range Diff
Click to expand
--- Original (c62f537f)
+++ Backport (e7c252ea)
@@ -11,3 +11,8 @@
Fixes: https://tracker.ceph.com/issues/76578
Signed-off-by: Casey Bodley <[email protected]>
+(cherry picked from commit c62f537f2c99513ef04595c748d392e9da36a7fd)
+
+Conflicts:
+ doc/radosgw/frontends.rst openssl -> OpenSSL
+ src/rgw/rgw_asio_frontend.cc no tls_groups on squid
================================================================================
RANGE DIFF
================================================================================
1: c62f537f2c9 ! 1: e7c252ea3e9 rgw/beast: add ssl_ciphersuites option for tls 1.3
@@ Commit message
Fixes: https://tracker.ceph.com/issues/76578
Signed-off-by: Casey Bodley <[email protected]>
+ (cherry picked from commit c62f537f2c99513ef04595c748d392e9da36a7fd)
+
+ Conflicts:
+ doc/radosgw/frontends.rst openssl -> OpenSSL
+ src/rgw/rgw_asio_frontend.cc no tls_groups on squid
## doc/radosgw/frontends.rst ##
@@ doc/radosgw/frontends.rst: Options
@@ doc/radosgw/frontends.rst: Options
+``ssl_ciphers`` and ``ssl_ciphersuites``
:Description: Optional list of one or more cipher strings separated by colons.
- The format of the string is described in OpenSSL's ciphers(1)
+- The format of the string is described in openssl's ciphers(1)
- manual.
++ The format of the string is described in OpenSSL's ciphers(1)
+ manual. The ``ssl_ciphers`` option only applies to connections
+ using TLS v1.2 and below, while ``ssl_ciphersuites`` only applies
+ to TLS v1.3.
@@ src/rgw/rgw_asio_frontend.cc: int AsioFrontend::ssl_reload() {
+ }
+ }
+
- std::optional<std::string> groups = conf->get_val("tls_groups");
- if (groups) {
- if (!cert) {
+ bool key_is_cert = false;
+ bool have_cert = false;
+ if (cert) {How to proceed:
- Authors (Genuine Conflicts): If this is a genuine conflict requiring manual resolution, ensure your resolution is correct. You must explain the conflict resolution in the commit message (e.g., leave the standard Git
Conflicts:block intact) and include an explanation for changes. - Authors (Need Help?): Reach out to the Component Lead for technical guidance on complex code conflicts.
- Component Leads (Review): Please review the Range Diff(s) above to verify the author's manual conflict resolution is correct for this release branch. If the deviation is intentional, documented, and approved then the component lead or @ceph/ceph-release-manager can bypass this check by commenting
/audit override.
Be familiar with the rules and guidelines for writing backports.
Commit Parity Visualizer
| BACKPORT PR #69179 | SOURCE PR | SOURCE STATUS |
|---|---|---|
| e7c252e rgw/beast: add ssl_ciphersuites option for tls 1.3 | PR #68934 | c62f537 rgw/beast: add ssl_ciphersuites option for tls 1.3 |
🛟 Need Help?
If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.
📋 Component Lead / Release Manager
To override the audit failure, apply releng-audit-override label or comment /audit override.
When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.
CI Run Log: View Workflow Details
|
This PR has been added to wip-yuri2-testing-20260602.202206-squid. |
|
This PR has been added to wip-yuri2-testing-20260622.144905-squid. |
|
This PR has been removed from wip-yuri2-testing-20260622.144905-squid. |
|
This PR has been added to wip-yuri9-testing-20260622.172413-squid. |
|
/audit override |
|
✅ Audit Override Applied by @adamemerson. |
|
jenkins test make check |
|
make check failure |
|
jenkins test make check |
1 similar comment
|
jenkins test make check |
backport tracker: https://tracker.ceph.com/issues/77003
backport of #68934
parent tracker: https://tracker.ceph.com/issues/76578
this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh