javax.net.ssl.SSLException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

WireMock, until 1.5.2, only worked with keystores with the password: "password", this was fixed in 1.5.3. Another issue that causes this exception was fixed in 1.5.3 as well.

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

  • HttpClientFactoryTest failure
    via GitHub by oxtoacart
    ,
  • Error with HTTPS - 443
    via GitHub by frekele
    ,
    • 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> at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:185) at org.apache.http.conn.ssl.BrowserCompatHostnameVerifier.verify(BrowserCompatHostnameVerifier.java:54) at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:114) at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:95) at org.apache.http.conn.ssl.SSLSocketFactory.createSocket(SSLSocketFactory.java:388) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:214) at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:167) at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:125) at org.apache.http.impl.client.DefaultRequestDirector.executeOriginal(DefaultRequestDirector.java:1287) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:699) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:575) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:491) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:469) at cieloecommerce.sdk.ecommerce.request.AbstractSaleRequest.sendRequest(AbstractSaleRequest.java:84) at cieloecommerce.sdk.ecommerce.request.CreateSaleRequest.doInBackground(CreateSaleRequest.java:35) at cieloecommerce.sdk.ecommerce.request.CreateSaleRequest.doInBackground(CreateSaleRequest.java:20) at android.os.AsyncTask$2.call(AsyncTask.java:288) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:818)

    Users with the same issue

    rp
    1 times, last one,
    jk
    3 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Andreas Häber
    1 times, last one,
    7 more bugmates