Skip to content

Commit

Permalink
fix null certificate chain issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lcampbell2 committed Apr 12, 2023
1 parent 51085cc commit 1175b1e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scanners/web-scanner/scan/tls_scanner/tls_scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ def __init__(self, cert: Certificate):
self.signature_hash_algorithm = cert.signature_hash_algorithm.name
self.san_list = parse_subject_alternative_name_extension(cert).dns_names

print(self.san_list.dns_names)

try:
cert_not_revoked, self.cert_revoked_status = query_crlite(cert.public_bytes(Encoding.PEM))
if type(cert_not_revoked) is bool:
Expand Down

0 comments on commit 1175b1e

Please sign in to comment.