Skip to content

Commit

Permalink
For unknown certificates OCSP should have unknown CertStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
ckelleyRH committed Aug 9, 2023
1 parent b70f070 commit db966eb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion base/ocsp/src/main/java/com/netscape/cms/ocsp/LDAPStore.java
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,9 @@ public SingleResponse processRequest(Request req) throws Exception {
}

if (theCert == null) {
throw new Exception("Issuer certificate not found/served");
logger.info("Missing issuer certificate");
// Unknown cert so respond with unknown state
return new SingleResponse(cid, new UnknownInfo(), new GeneralizedTime(new Date()), null);
}

if (theCRL == null) {
Expand Down

0 comments on commit db966eb

Please sign in to comment.