javax.net.ssl.SSLException: hostname in certificate didn't match: != <.braspag.com.br> OR <.braspag.com.br> OR

GitHub | alexisrodriguez11 | 5 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

    GitHub comment 9#249901665

    GitHub | 5 months ago | alexisrodriguez11
    javax.net.ssl.SSLException: hostname in certificate didn't match: != <.braspag.com.br> OR <.braspag.com.br> OR
  2. 0

    GitHub comment 9#249707799

    GitHub | 5 months ago | alexisrodriguez11
    javax.net.ssl.SSLException: hostname in certificate didn't match: <apisandbox.cieloecommerce.cielo.com.br> != <*.braspag.com.br> OR <*.braspag.com.br> OR <braspag.com.br>
  3. 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>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error with HTTPS - 443

    GitHub | 3 years ago | frekele
    org.sonar.wsclient.connectors.ConnectionException: Query: https://sonar.mydomain.inf.br/api/authentication/validate
  6. 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;
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: != <.braspag.com.br> OR <.braspag.com.br> OR

    at org.apache.http.conn.ssl.AbstractVerifier.verify()
  2. Apache HttpClient
    AbstractHttpClient.execute
    1. org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:185)
    2. org.apache.http.conn.ssl.BrowserCompatHostnameVerifier.verify(BrowserCompatHostnameVerifier.java:54)
    3. org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:114)
    4. org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:95)
    5. org.apache.http.conn.ssl.SSLSocketFactory.createSocket(SSLSocketFactory.java:388)
    6. org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:214)
    7. org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:167)
    8. org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:125)
    9. org.apache.http.impl.client.DefaultRequestDirector.executeOriginal(DefaultRequestDirector.java:1287)
    10. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:699)
    11. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:575)
    12. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:491)
    13. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:469)
    13 frames
  3. cieloecommerce.sdk.ecommerce
    CreateSaleRequest.doInBackground
    1. cieloecommerce.sdk.ecommerce.request.AbstractSaleRequest.sendRequest(AbstractSaleRequest.java:84)
    2. cieloecommerce.sdk.ecommerce.request.CreateSaleRequest.doInBackground(CreateSaleRequest.java:35)
    3. cieloecommerce.sdk.ecommerce.request.CreateSaleRequest.doInBackground(CreateSaleRequest.java:20)
    3 frames
  4. Android Platform
    AsyncTask$2.call
    1. android.os.AsyncTask$2.call(AsyncTask.java:288)
    1 frame
  5. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    1 frame
  6. Android Platform
    AsyncTask$SerialExecutor$1.run
    1. android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
    1 frame
  7. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    3. java.lang.Thread.run(Thread.java:818)
    3 frames