Tag Archives: web service exception

How to Fix : java.security.cert.CertificateException: No name matching localhost found

How to Fix the exception ” java.security.cert.CertificateException: No name matching localhost found”, when client uses URL with “localhost” as host name to access some secure service over HTTPS? In this article we will check the root cause of the issue and will try two different solutions two fix the same. There are other similar issues… Read More »