. Advertisement .
..3..
. Advertisement .
..4..
When trying connecting with Redhat registries, I get the ”javax net ssl sslpeerunverifiedexception peer not authenticated” error.
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
Can someone help me to fix this?
The cause: I think this error happens because your server doesn’t have a valid SSL certificate.
Solution: Using a different TrustManager to solve it: