SUSE Support

Here When You Need Us

GoLang version 1.22 effects TLS versions under 1.3

This document (000021551) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Rancher v2.9.x
SUSE Rancher v2.8.7+

Situation

In GoLang version 1.22, by default, the minimum version offered by crypto/tls servers is now TLS 1.2 if not specified with config.MinimumVersion, matching the behavior of crypto/tls clients. This change can be reverted with the tls10server=1 GODEBUG setting.

By default, cipher suites without ECDHE support are no longer offered by either clients or servers during pre-TLS 1.3 handshakes. This change can be reverted with the tlsrsakex=1 GODEBUG setting.
Please note the following:
  • Applications accessing Rancher Manager offering only TLS versions below 1.2 will fail.
  • Applications accessing Rancher Manager using TLS 1.2 without offering ECDHE ciphers will fail.
  • Rancher Manager accessing applications that do not support TLS 1.3 and do not offer ECDHE ciphers under TLS 1.2 will fail.

Resolution

For deployments via Helm, it can be done via extraEnv:
--set 'extraEnv[0].name=GODEBUG' --set 'extraEnv[0].value=tlsrsakex=1,tls10server=1'

Cause

Regarding the changes on the ciphers side, Go version 1.22 drops, by default, all non ECDHE ciphers - which can be reverted by GODEBUG=tlsrsakex=1. This only affects cases where we are using the default ciphers, and not defining our own ciphers. Please note: This also does not affect TLS 1.3.
 
The other change relates to the server side, which now has the default TLS version 1.2, as opposed to the previous 1.0. This aligns with changes to the client side of TLS that were changed a while back. To revert this one GODEBUG=tls10server=1.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000021551
  • Creation Date: 09-Sep-2024
  • Modified Date:12-Sep-2024
    • SUSE Rancher

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.