SSL Peer Unverified

Hi! For some projects in my company we have to import data from another services. Sometimes, we get an error like this:

javax.net.ssl.SSLPeerUnverifiedException: Hostname [url] not verified: certificate: [certificate code] DN: CN=[url] subjectAltNames: [url] (java.lang.RuntimeException)

How can I avoid this, since we are dependent of this imported data?

Hi.

How do you get the data to import? Using our lib-http or something else?

Yep. Simple http request. But I see that this is a protection on the link I’m importing, not enonic problem. You can close the post if you want :slight_smile: ty4attention