javax.net.ssl.SSLPeerUnverifiedException: Hostname xxx not verified: certificate: xxx DN:xxx subjectAltNames: []

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by barq
, 1 year ago
Hostname xxx not verified: certificate: xxx DN:xxx subjectAltNames: []
via GitHub by hideki
, 9 months ago
Hostname server not verified: certificate: sha256/caHUXyhGESZo2ETOnGYWcnymS5k3RdQsdbQJ8v+Q3+I= subjectAltNames: []
via Stack Overflow by luisjar
, 1 year ago
Hostname ec2-54-187-245-213.us-west-2.compute.amazonaws.com not verified: certificate: sha1/x+YzLQ11jAtlgEG6qJg8W9cqp/k= DN:1.2.840.113549.1.9.1=#161e6c7569732e6a6172616d696c6c6f40637265617264697469616c2e636f6d,CN=54.187.245.213,OU=IT,O=Crear Digital,L=Cali,ST=Valle del Cauca,C=co subjectAltNames: []
via Google Groups by Unknown author, 10 months ago
Hostname 10.7.0.131 not verified: certificate: sha256/D4HzkJOhYIHnCnlcXRYsHj7ZBHsUxeBh9IdK5u5eJrw= DN: CN=sonar.lego.local, OU=Product Team, O=BlueCat, L=Toronto, ST=ON, C=CA subjectAltNames: []
javax.net.ssl.SSLPeerUnverifiedException: Hostname xxx not verified: certificate: xxx DN:xxx subjectAltNames: []
at okhttp3.internal.io.RealConnection.connectTls(RealConnection.java:248)
at okhttp3.internal.io.RealConnection.establishProtocol(RealConnection.java:196)
at okhttp3.internal.io.RealConnection.buildConnection(RealConnection.java:171)
at okhttp3.internal.io.RealConnection.connect(RealConnection.java:111)
at okhttp3.internal.http.StreamAllocation.findConnection(StreamAllocation.java:187)
at okhttp3.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:123)
at okhttp3.internal.http.StreamAllocation.newStream(StreamAllocation.java:93)
at okhttp3.internal.http.HttpEngine.connect(HttpEngine.java:296)
at okhttp3.internal.http.HttpEngine.sendRequest(HttpEngine.java:248)
at okhttp3.RealCall.getResponse(RealCall.java:243)
at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:201)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:163)
at okhttp3.RealCall.execute(RealCall.java:57)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.