Friday, July 27, 2001 11:55 AM
I'm not sure how jGuru works. I found this unanswered question while searching google on how to solve this exact problem. Anyway the solution:
public boolean verify(String urlHostname, String certHostname)
return ("www.badcert.com".equalsIgnoreCase(certHostname) &&
Here I'm using a HostnameVerifier (in an anonymous class) to overlook a certificate name mismatch. In this case the vendor 'badcert.com' is using their 'www.badcert.com' on their 'xyz.badcert.com' server.
Anyone know how to send authentication details on HTTP_UNAUTHORIZED??