Skip to content

Impossibility to validate certificate path and revocation #1506

Answered by dghgit
pmds-martins asked this question in Q&A
Discussion options

You must be logged in to vote

Glad to hear the book has been helpful.

Okay, so this is not invalid (perhaps a little incomplete, but not invalid). The CertPath API is designed around the idea that if revocation is enabled everyone down the chain will be able to revoke a certificate appearing in it, so the exception you are seeing is because higher up the chain the cert path API is unable to find a CRL.

There's two options in this case.

If you can provide an empty CRL for the trust anchor and the CA. I'm guessing the assumption was originally that this would never happen - I've seen people say that before... I've even said it myself... I'd recommend the empty CRL just in case this turns out not to be the case.

The seco…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dghgit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants