javax.net.ssl.SSLPeerUnverifiedException: Host name 'test.example' does not match the certificate subject provided by the peer (CN=example, ...)

Stack Overflow | HknLof | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    SSLSocketFactory verifyHostname unable to resolve subdomain

    Stack Overflow | 9 months ago | HknLof
    javax.net.ssl.SSLPeerUnverifiedException: Host name 'test.example' does not match the certificate subject provided by the peer (CN=example, ...)
  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

    CLOVER

    ne.jp | 1 year ago
    javax.net.ssl.SSLPeerUnverifiedException: Host name 'localhost' does not match the certificate subject provided by the peer (CN=e611e15f9c9d)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

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

    Stack Overflow | 1 year 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)
  6. 0

    Host name 'www.googleapis.com' does not match the certificate subject provided by the peer

    GitHub | 2 years ago | sagarrao
    javax.net.ssl.SSLPeerUnverifiedException: Host name 'www.googleapis.com' does no t match the certificate subject provided by the peer (CN=*.storage.googleapis.co m, O=Google Inc, L=Mountain View, ST=California, C=US)

    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 'test.example' does not match the certificate subject provided by the peer (CN=example, ...)

      at org.apache.http.conn.ssl.SSLConnectionSocketFactory.verifyHostname()
    2. Apache HttpClient
      SSLConnectionSocketFactory.verifyHostname
      1. org.apache.http.conn.ssl.SSLConnectionSocketFactory.verifyHostname(SSLConnectionSocketFactory.java:465)
      1 frame