SUSEConnect error: Post "https://scc.suse.com/connect/subscriptions/systems": tls: failed to verify certificate: x509: certificate signed by unknown authority

Hello,

While registering to the SUSE Reg code in my SLES Server, getting below error. Tried with regenerating the certificate same issue occurring.

# SUSEConnect -r
Registering system to SUSE Customer Center

Announcing system to https://scc.suse.com
SUSEConnect error: Post “https://scc.suse.com/connect/subscriptions/systems”: tls: failed to verify certificate: x509: certificate signed by unknown authority

Can anyone plz help me, how to fix this.?

Thanks.!

Which version of SLES are you trying to register?

It’s in SUSE 15SP5 OS version