Skip to content

Commit 92b647f

Browse files
smtakedaankit-bhatnagar167
authored andcommitted
added log for OCSP singing cert WIP
1 parent 40b4268 commit 92b647f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ocsp_asn1crypto.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,9 @@ def process_ocsp_response(self, issuer, cert_id, ocsp_response):
174174
ocsp_cert = basic_ocsp_response['certs'][0]
175175
logger.debug("Verifying the attached certificate is signed by "
176176
"the issuer")
177+
logger.debug(
178+
"Valid Not After: %s",
179+
ocsp_cert['tbs_certificate']['validity']['not_after'].native)
177180
self.verify_signature(
178181
ocsp_cert.hash_algo,
179182
ocsp_cert.signature,

0 commit comments

Comments
 (0)