SMT 11: Procedure to change the CA Certificate's Signature Algorithm from SHA1 to SHA256
This document (7021475) is provided subject to the disclaimer at the end of this document.
Environment
Subscription Management Tool 11
Situation
Resolution
First, verify and be sure that your current CA Certificate's Signature Algorithm is SHA1:
# openssl x509 -in /var/lib/CAM/YaST_Default_CA/cacert.pem -text
You will have to see a line like this: "Signature Algorithm: sha1"
To change it to SHA256, edit the following file with the editor of your preference:
/var/lib/CAM/openssl.cnf.tmpl
Inside the file you will find multiple times the following configuration option:
default_md=sha1
Change all the above lines for:
default_md=sha256
Once finished, save the file and exit the editor.
And finally, you will have to delete the old CA certificate and create a new one with SHA256, by following all the steps of this TID:
NOTE: Do not deviate from the steps of the TID, follow it by the letter, using all the names for the Certificates and the SMT FQDN as described in it.
https://www.suse.com/support/kb/doc/?id=7006024
And again, because you are recreating the CA certificate, you will have to re-create the Server certificate too (as explained in the above TID) and also de-register and re-register all the Client systems to get the new certificates.
Cause
Additional Information
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:7021475
- Creation Date: 19-Sep-2017
- Modified Date:03-Mar-2020
-
- Subscription Management Tool
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com