javax.net.ssl.SSLPeerUnverifiedException: Host name 'docker-abc-123' does not match the certificate subject provided by the peer (CN=docker-abc-123, OU=unit, O=org, L=city, ST=area, C=xx)

Stack Overflow | JavaDevSweden | 3 months ago
  1. 0

    Host name does not match the certificate subject provided by the peer, but it's a perfect match

    Stack Overflow | 3 months ago | JavaDevSweden
    javax.net.ssl.SSLPeerUnverifiedException: Host name 'docker-abc-123' does not match the certificate subject provided by the peer (CN=docker-abc-123, OU=unit, O=org, L=city, ST=area, C=xx)
  2. 0

    Host verification fails for https://www.apis.google.com/ in spring social

    Stack Overflow | 2 years ago | Balaban Mario
    javax.net.ssl.SSLPeerUnverifiedException: Host name 'www.googleapis.com' does not match the certificate subject provided by the peer (CN=*.storage.googleapis.com, O=Google Inc, L=Mountain View, ST=California, C=US) This is the stack trace: Caused by: javax.net.ssl.SSLPeerUnverifiedException: Host name 'www.googleapis.com' does not match the certificate subject provided by the peer (CN=*.storage.googleapis.com, O=Google Inc, L=Mountain View, ST=California, C=US)
  3. 0

    javax.net.ssl.SSLPeerUnverifiedException: Host name does not match the certificate subject provided by the peer

    Stack Overflow | 11 months ago
    javax.net.ssl.SSLPeerUnverifiedException: Host name 'XXXXXXXXX' does not match the certificate subject provided by the peer (CN=localhost, O=WSO2, L=Mountain View, ST=CA, C=US)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Can't call EWS service with API Java SSL and certificates

    Stack Overflow | 1 year ago | alibenmessaoud
    microsoft.exchange.webservices.data.core.exception.service.remote.ServiceRequestException: The request failed. The request failed. Host name '192.168.1.59' does not match the certificate subject provided by the peer (CN=WIN-NS09AI4QBB8)
  6. 0

    The request failed.Host name does not match the certificate subject provided by the peer

    GitHub | 1 year ago | 805728578
    com.wafersystems.exchange.core.exception.service.remote.ServiceRequestException: The request failed. The request failed. Host name '192.168.0.168' does not match the certificate subject provided by the peer (CN=exchange)

  1. Arne Jans 1 times, last 9 months ago
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. javax.net.ssl.SSLPeerUnverifiedException

    Host name 'docker-abc-123' does not match the certificate subject provided by the peer (CN=docker-abc-123, OU=unit, O=org, L=city, ST=area, C=xx)

    at org.apache.http.conn.ssl.SSLConnectionSocketFactory.verifyHostname()
  2. Apache HttpClient
    CloseableHttpClient.execute
    1. org.apache.http.conn.ssl.SSLConnectionSocketFactory.verifyHostname(SSLConnectionSocketFactory.java:465)[httpclient-4.5.jar:4.5]
    2. org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:395)[httpclient-4.5.jar:4.5]
    3. org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:353)[httpclient-4.5.jar:4.5]
    4. org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134)[httpclient-4.5.jar:4.5]
    5. org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)[httpclient-4.5.jar:4.5]
    6. org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)[httpclient-4.5.jar:4.5]
    7. org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)[httpclient-4.5.jar:4.5]
    8. org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)[httpclient-4.5.jar:4.5]
    9. org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)[httpclient-4.5.jar:4.5]
    10. org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)[httpclient-4.5.jar:4.5]
    11. org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)[httpclient-4.5.jar:4.5]
    12. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)[httpclient-4.5.jar:4.5]
    12 frames
  3. Spring
    RestTemplate.doExecute
    1. org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:91)[spring-web-4.1.4.RELEASE.jar:4.1.4.RELEASE]
    2. org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)[spring-web-4.1.4.RELEASE.jar:4.1.4.RELEASE]
    3. org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)[spring-web-4.1.4.RELEASE.jar:4.1.4.RELEASE]
    4. org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:568)[spring-web-4.1.4.RELEASE.jar:4.1.4.RELEASE]
    4 frames