Hi everyone,

I have a servlet that is tasked to download various files from a secure
site.   It uses an HttpsURLConnection to connect to the site's root and
passes my Authenticator class (w/ username and password) as the default
authenticator.   It used to work fine until the site's admin replaced
their verisign certificate with an in-house-generated one.  Now my
servlet receives a java.security.cert.CertificateException stating that
it cannot find a trusted certificate.

I tried adding the server's certificate to my server's keystore, but
I'm afraid that didn't work.  I believe I have to obtain the certificate
and somehow validate it.  If anyone has experience with this I'd greatly
appreciated it.

Thanks in advance,
-Becky

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to