From 1175b1e3a47eab67edc85f3715bcefbe82d37890 Mon Sep 17 00:00:00 2001 From: lcampbell Date: Wed, 12 Apr 2023 15:53:18 -0300 Subject: [PATCH] fix null certificate chain issue --- scanners/web-scanner/scan/tls_scanner/tls_scanner.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/scanners/web-scanner/scan/tls_scanner/tls_scanner.py b/scanners/web-scanner/scan/tls_scanner/tls_scanner.py index e1443b6ec3..9e5906a19c 100644 --- a/scanners/web-scanner/scan/tls_scanner/tls_scanner.py +++ b/scanners/web-scanner/scan/tls_scanner/tls_scanner.py @@ -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: