Registration of RedHat 6.2 server fails under SuseManager 3.0: "[Errno 14] Peer cert cannot be verified or peer cert invalid".
This document (7020969) is provided subject to the disclaimer at the end of this document.
Newer Red Hat versions may work though.
ORG_GPG entry should be set:
The following lines should be commented out:
#echo "* removing TLS certificate used for bootstrap"
#echo " (will be re-added via salt state)"
In addition, outdated versions of openssl can also cause this SSL certificate error. Unless a newer version of openssl is installed, the problem cannot be bypassed.
More information available in this related TID:
CHECKING THE REGISTRATION STACK
* check for necessary packages being installed...
* client codebase is res-6
package salt is not installed
package salt-minion is not installed
* going to install missing packages...
WARNING: cannot verify XXXXXX’s certificate, issued by “/C=GB/ST=xxx/L=yyy/O=zzz/OU=IT/CN=aaa.bbb.ccc.com”:
Unable to locally verify the issuer’s authority.
2017-05-25 16:57:13 URL:https://aaa.bbb.ccc.com/pub/repositories/res/6/bootstrap/repodata/repomd.xml [1509/1509] -> "repomd.xml" 
FINISHED --2017-05-25 16:57:13--
Downloaded: 1 files, 1.5K in 0s (2811 GB/s)
adding client software repository at https://aaa.bbb.ccc.com/pub/repositories/res/6/bootstrap
Loaded plugins: product-id, refresh-packagekit, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
https://aaa.bbb.ccc.com/pub/repositories/res/6/bootstrap/repodata/repomd.xml: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
It was impossible to connect to the Red Hat servers.
This could mean a connectivity issue in your environment, such as the requirement to configure a proxy,
or a transparent proxy that tampers with TLS security, or an incorrect system clock.
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:7020969
- Creation Date: 15-Jun-2017
- Modified Date:16-Jan-2021
- SUSE Manager
For questions or concerns with the SUSE Knowledgebase please contact: firstname.lastname@example.org