javax.net.ssl.SSLException: hostname in certificate didn't match: <abc.dbc.net> != <*.azurewebsites.net> OR <*.azurewebsites.net> OR <*.scm.azurewebsites.net> OR <*.azure-mobile.net> OR <*.scm.azure-mobile.net>

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert 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.

Solutions on the web

via Stack Overflow by Atul Dhanuka
, 10 months ago
hostname in certificate didn't match: <abc.dbc.net> != <*.azurewebsites.net> OR <*.azurewebsites.net> OR <*.scm.azurewebsites.net> OR <*.azure-mobile.net> OR <*.scm.azure-mobile.net>
via Stack Overflow by Sky
, 5 months ago
hostname in certificate didn't match: <sub.domain.com> != <domain.com> OR <domain.com>
via Stack Overflow by incr3dible noob
, 1 year ago
hostname in certificate didn't match: <www.rugbyworldirectory.com> != <*.firstfind.nl> OR <*.firstfind.nl> OR <firstfind.nl>
via Stack Overflow by Ahsan Malik
, 2 years ago
hostname in certificate didn't match: &lt;development.racerunner.com&gt; != &lt;racerunner.com&gt; OR &lt;racerunner.com&gt;
via GitHub by rastating
, 2 years ago
hostname in certificate didn't match: <sickbeard.lertsenem.com> != <headphones web service> OR <headphones.lertsenem.com>
via gitlab.com by Unknown author, 1 year ago
hostname in certificate didn't match: <sparber.net> != <*.draco.uberspace.de> OR <*.draco.uberspace.de> OR <draco.uberspace.de>
javax.net.ssl.SSLException: hostname in certificate didn't match: <abc.dbc.net> != <*.azurewebsites.net> OR <*.azurewebsites.net> OR <*.scm.azurewebsites.net> OR <*.azure-mobile.net> OR <*.scm.azure-mobile.net>
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:381)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:165)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
at com.ericsson.dat.Presenter.threading.NetworkTask.doInBackground(NetworkTask.java:79)
at com.ericsson.dat.Presenter.threading.NetworkTask.doInBackground(NetworkTask.java:1)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask.run(FutureTask.java:234)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
at java.lang.Thread.run(Thread.java:856)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
3 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 10 months ago
5 times, 3 weeks ago
9 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.