zypper commands return "SSL certificate problem: unable to get local issuer certificate" on a SLES 12 SUSE Manager Client
This document (7017147) is provided subject to the disclaimer at the end of this document.
SUSE Linux Enterprise Server 12 Service Pack 1 (SLES 12 SP1)
1. cd /etc/pki/trust/anchors
2. ls -l
It should look something like this:
lrwxrwxrwx 1 root root 39 Oct 8 05:19 RHN-ORG-TRUSTED-SSL-CERT.pem -> /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT
If the symbolic link is missing (ie RHN-ORG-TRUSTED-SSL-CERT.pem -> /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT) it can manually be added with:
1. ln -s /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT /etc/pki/trust/anchors/RHN-ORG-TRUSTED-SSL-CERT.pem
2. then run /usr/sbin/update-ca-certificates
zypper commands should once again be working.
This Support Knowledgebase provides a valuable tool for NetIQ/Novell/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:7017147
- Creation Date:13-JAN-16
- Modified Date:16-MAY-18
- SUSESUSE Linux Enterprise Server