aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes Displaying all added digital certificates Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Displaying all added digital certificates" Watch "Displaying all added digital certificates" New topic
Author

Displaying all added digital certificates

Subash Kshetri
Greenhorn

Joined: May 18, 2011
Posts: 23

Hello
I want to know how can i display all added digital certificates because i am getting

" sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: basic constraints check failed: pathLenConstraint violated - this cert must be the last cert in the certification path " error frequently in my web crawler.

Thank you in advance.
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

I've edited the title because urgent doesn't exists here.


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Subash Kshetri
Greenhorn

Joined: May 18, 2011
Posts: 23

Hello
I want to know how can i display all added digital certificates because i am getting

" sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: basic constraints check failed: pathLenConstraint violated - this cert must be the last cert in the certification path " error frequently in my web crawler .

Thank you in advance.
Punit Raizada
Ranch Hand

Joined: Mar 20, 2004
Posts: 156
You are probably looking for

> keytool -list -keystore ../lib/security/cacerts


SCJP 1.4
Everything that can go wrong will go wrong -Murphy
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Displaying all added digital certificates