WebSphere Application Server - I get "certificate expired". But it is not?

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Application Server > April 2006 > I get "certificate expired". But it is not?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author I get "certificate expired". But it is not?

2006-04-27, 8:08 am

Hi all,

I'm trying to open an SSL connection. Below is my code:

java.net.URL url = new java.net.URL("https://abc.com");
java.net.URLConnection conn = url.openConnection();
java.io.InputStream input = conn.getInputStream();//this line throws exception below:

javax.net.ssl.SSLHandshakeException: certificate expired
at com.ibm.jsse.bs.a(Unknown Source)
at com.ibm.jsse.bs.startHandshake(Unknown Source)
at com.ibm.net.ssl.www.protocol.https.b.o(Unknown Source)
at com.ibm.net.ssl.www.protocol.https.q.connect(Unknown Source)
at com.ibm.net.ssl.www.protocol.http.cf.getInputStream(Unknown Source)
at com.ibm.net.ssl.internal.www.protocol.https.HttpsURLConnection.getInputStream

BUT I can go to https://abc.com using internet explorer, and it shows no warning about the expired certificate. What may be the problem?

RAD 6.0.1
WAS 5.1 test environment.

JSSE documentation (http://www-128.ibm.com/developerwor...2_benantar.html) says JSSE is setup in WAS by default. I can see trust items in java.security as well, which proves -I guess- that my JSSE setup is ok.

Thanks...
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com