javax.net.ssl.SSLException: hostname in certificate didn't match: <14.21.6.24> != <localhost>

Stack Overflow | mike | 3 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    How can I generate a SSL certificate to have a common name in order to replace the CN of AM by default

    Stack Overflow | 3 months ago | mike
    javax.net.ssl.SSLException: hostname in certificate didn't match: <14.21.6.24> != <localhost>
  2. 0

    Indirect Apache HttpClient and javax.net.ssl.SSLException: hostname in certificate didn't match

    Stack Overflow | 4 years ago | Radek S
    javax.net.ssl.SSLException: hostname in certificate didn't match: &lt;172.16.2.152> !=
  3. 0

    WSO2 EMM 2.0 iOS Enrollment Error

    Stack Overflow | 11 months ago | LearningSecurity
    connectionjavax.net.ssl.SSLException: hostname in certificate didn't match: <IP> != <hostname>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to make Apache Camel Restlet producer to ignore SSL hostname verification

    Stack Overflow | 2 years ago | Aldo
    javax.net.ssl.SSLException: hostname in certificate didn't match: &lt;192.168.1.1&gt; != &lt;localhost&gt;
  6. 0

    Dropbox bundle authorization via OSGi console

    Google Groups | 4 years ago | Jonathan Giles
    javax.net.ssl.SSLException: hostname in certificate didn't match: <api.dropbox.com/108.160.162.54> != <*.dropbox.com>

  1. joni1408 3 times, last 10 months ago
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.SSLException

    hostname in certificate didn't match: <14.21.6.24> != <localhost>

    at org.apache.http.conn.ssl.AbstractVerifier.verify()
  2. Apache HttpClient
    BrowserCompatHostnameVerifier.verify
    1. org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:231)
    2. org.apache.http.conn.ssl.BrowserCompatHostnameVerifier.verify(BrowserCompatHostnameVerifier.java:54)
    2 frames