Unfortunately you need the issuer certificate, or at least some parts of it to get OCSP to work. You can see problem if you look at the ASN.1 structure for CertID:
CertID ::= SEQUENCE {
hashAlgorithm AlgorithmIdentifier,
issuerNameHash OCTET STRING, -- Hash of Issuer's DN
issuerKeyHash OCTET STRING, -- Hash of Issuers public key
serialNumber CertificateSerialNumber }
It requires the issuer DN and the hash of the issuer's public key. A better question to ask is how will you verify the signature on the end entity certificate if you don't have the issuer certificate? If you cannot do that there's no point in using OCSP as well.
Regards,
David
|