tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Howard <Jim.How...@abcv.com>
Subject RE: javax.net.ssl.SSLHandshakeException: Could not find trusted c ertificate
Date Tue, 13 Jan 2004 14:35:44 GMT
 The verisign intermediateCA certificate expired on the 7th.  You will need
to download the new one from Verisign and put it in your jre security
directory.



-----Original Message-----
From: Neal
To: 'Tomcat Users List'
Sent: 1/13/04 1:05 AM
Subject: javax.net.ssl.SSLHandshakeException: Could not find trusted
certificate 

I suddenly have a problem reading XML over SSL, where the system has
been in place for a year and the problem never existed before! And the
weird part is
that both my dev and production environmets now seem to have the same
problem.  

Another interesting tidbit I have noticed is that I *can* access XML
documents on my own server (using a Thawte cert) but have a problem when
attempting to access documents on two external servers that I know use
Verisign certs.  This may or may not be related.

Can anyone think of what may be wrong or what I can do to correct the
issue?


I am getting the following error:
javax.net.ssl.SSLHandshakeException: Could not find trusted certificate


Here is the method I am using to retrieve the document:
public Document readDocument(URL url) throws IOException,
ParserConfigurationException, SAXException {
	Document doc = null;
      InputStream in = url.openStream();
      DocumentBuilderFactory docBuilderFactory =
DocumentBuilderFactory.newInstance();
      DocumentBuilder docBuilder =
docBuilderFactory.newDocumentBuilder();
      doc = docBuilder.parse(in);
      return doc;
    }





---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message