Update [8-June-2023] - Chef Automate version 4.7.52 and above will have the updated Go Lang version (1.19.3).
A new version of Chef Automate will be released in the early June 2023, which includes an upgrade to Golang 1.19. This change is required since the existing version of Golang and Go's standard libraries are no longer supported.
Please keep reading to determine if this change will impact you.
Automate is moving the product builds from Golang version 1.15 to 1.19 to keep the language features up to date. Please refer to Go 1.15 Release Notes for more information.
The updated version of Chef Automate, to be released in the early June 2023, will update the core build framework of Golang to 1.19.
The change in the Golang version will impact the custom certificates used for interaction with external systems. The common name field of X.509 certificates will no longer be considered the hostname when the Subject Alternative Name (SAN) is absent.
Customers using Automate or Automate HA with custom certificates generated with OpenSSL 1.1.1, or above which do not have the Subject Alternative Name (SAN) field will be affected by this upgrade. Automate or Automate HA may stop working if you upgrade to this version without updating the certificates.
Some changes that may be observed:
Please check certificates installed on Automate, external databases and web services to ensure that the Subject Alternative Name (SAN) has the correct value.
1. To check mycert.cer, please run this command:
2. The output of the command will look like this:
3. Look for the “X509v3 Subject Alternative Name
" field in the output, as shown above.
If you do not see a value for the "X509v3 Subject Alternative Name", you ARE impacted.
An OpenSSL CSR with the SAN should have the following attributes:
Once your custom certificate is updated, you must re-apply it.
-For Standalone Automate use the config patch to apply the load balancer certificate.
-There will be downtime while applying the updated certs to an externally managed databases or with custom certificates provided for the Automate frontend load balancer.
Upgrade Chef Automate documentation: https://docs.chef.io/automate/upgrade/