SUSEConnect error: OpenSSL::SSL::SSLError: SSL_connect: certificate verify failed.
This document (7018477) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 12 Service Pack 4 (SLES 12 SP4)
SUSE Linux Enterprise Server 12 Service Pack 5 (SLES 12 SP5)
Situation
When running the SUSEConnect command, a certificate error is displayed :
SSL verification failed: unable to get local issuer certificate
SUSEConnect error: OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=error: certificate verify failed
When running "wget" or "curl" commands against the SMT server, the server does not report this error.
Resolution
/etc/sysconfig/proxy
NO_PROXY="localhost,127.0.0.1,suse.com"
/root/.curlrc
--noproxy "localhost,127.0.0.1,suse.com"
Finally, please ensure that /etc/hosts does not contain any entries for scc.suse.com or updates.suse.com.
Cause
Additional Information
echo|openssl s_client -connect scc.suse.com:443|head -n 10
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:7018477
- Creation Date: 11-Jan-2017
- Modified Date:07-May-2024
-
- Subscription Management Tool
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com