javax.net.ssl.SSLPeerUnverifiedException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web549

  • Host name 'test.example' does not match the certificate subject provided by the peer (CN=example, ...)
  • via JIRA by Wolfgang Grossinger, 4 months ago
    Host name 'puppetdb' does not match the certificate subject provided by the peer (CN=server)
  • via ne.jp by Unknown author, 1 year ago
    Host name 'localhost' does not match the certificate subject provided by the peer (CN=e611e15f9c9d)
  • Stack trace

    • 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(SSLConnectionSocketFactory.java:465)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago
    Once, 1 year ago
    Unknown user
    Once, 1 year ago