javax.net.ssl.SSLException: hostname in certificate didn't match: <dynamic.12306.cn/123.103.14.224> != <dynamic.12306.cn>

iteye.com | 7 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

    用httpclient开发的在线自动抢订火车票系统(已上传源代码)讨论第13页: - HttpClient,火车票,抢票 - Java - ITeye论坛

    iteye.com | 7 months ago
    javax.net.ssl.SSLException: hostname in certificate didn't match: <dynamic.12306.cn/123.103.14.224> != <dynamic.12306.cn>
  2. 0

    HttpClientFactoryTest failure

    GitHub | 2 years ago | oxtoacart
    javax.net.ssl.SSLException: hostname in certificate didn't match: <www.exceptional.io> != <a248.e.akamai.net> OR <*.akamaihd.net> OR <*.akamaihd-staging.net> OR <a248.e.akamai.net> OR <*.akamaized.net> OR <*.akamaized-staging.net>
  3. 0

    Error with HTTPS - 443

    GitHub | 3 years ago | frekele
    org.sonar.wsclient.connectors.ConnectionException: Query: https://sonar.mydomain.inf.br/api/authentication/validate
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Apache HttpClient 4.2.3 - SSLException: hostname in certificate didn't match

    Stack Overflow | 4 years ago | CodingMonkey
    javax.net.ssl.SSLException: hostname in certificate didn't match: &lt;right.host.it&gt; != &lt;unknown.host.it&gt;
  6. 0

    javax.net.ssl.SSLException: hostname in certificate didn't match:

    Stack Overflow | 2 years ago | thusya
    javax.net.ssl.SSLException: hostname in certificate didn't match: != &lt;<em>.ipage.com> OR &lt;</em>.ipage.com> OR

  1. rp 1 times, last 2 months ago
  2. jk 3 times, last 6 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.SSLException

    hostname in certificate didn't match: <dynamic.12306.cn/123.103.14.224> != <dynamic.12306.cn>

    at org.apache.http.conn.ssl.AbstractVerifier.verify()
  2. Apache HttpClient
    AbstractHttpClient.execute
    1. org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:228)
    2. org.apache.http.conn.ssl.BrowserCompatHostnameVerifier.verify(BrowserCompatHostnameVerifier.java:54)
    3. org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:149)
    4. org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:130)
    5. org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:397)
    6. org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:495)
    7. org.apache.http.conn.scheme.SchemeSocketFactoryAdaptor.connectSocket(SchemeSocketFactoryAdaptor.java:62)
    8. org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
    9. org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)
    10. org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
    11. org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:573)
    12. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:425)
    13. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
    14. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
    14 frames
  3. com.bincode.util
    HttpUtils.doGetFile
    1. com.bincode.util.HttpUtils.doGetFile(HttpUtils.java:313)
    1 frame
  4. com.bincode.start
    OrderMain.main
    1. com.bincode.start.OrderMain.waitSetSubmitCode(OrderMain.java:191)
    2. com.bincode.start.OrderMain.main(OrderMain.java:34)
    2 frames