How can I ignore expired certificates?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Trejkaz_Xaoza
Posted On:   Friday, November 15, 2002 08:39 PM

From time to time a server I need to connect to via SSL are slack in getting their certificates updated. Instead of preventing the user from using the service, is there any way I can disable this check, say for a week, while the site gets their stuff in order?

(A lot of other clients appear to do the same thing, allowing a user to connect and still have a secure session despite the expired certificate.)

Re: How can I ignore expired certificates?

Posted By:   Anonymous  
Posted On:   Thursday, November 21, 2002 05:59 PM

HI!

if you use java.security.cert.X509Certificate,
you can check the cert by using checkValidity() or
checkValidity(Date date)
About | Sitemap | Contact