From 94d8506e8e67c9856fdc3b6415a80c4f63acfc31 Mon Sep 17 00:00:00 2001 From: AccentuSoft Date: Thu, 14 Apr 2022 10:55:00 +0300 Subject: [PATCH] Improve CertificateInfo.py - URLs no longer need to be the base URL of the site. --- Core/Resolutions/Core/CertificateInfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/Resolutions/Core/CertificateInfo.py b/Core/Resolutions/Core/CertificateInfo.py index ef5cd7d..746a718 100644 --- a/Core/Resolutions/Core/CertificateInfo.py +++ b/Core/Resolutions/Core/CertificateInfo.py @@ -22,7 +22,7 @@ class CertificateInfo: websiteURL = entity['URL'] if not websiteURL.startswith('https'): continue # Ignore non-https sites - addressWithoutHttps = websiteURL[8:] + addressWithoutHttps = websiteURL[8:].split('/')[0] with sslContext.wrap_socket(socket.socket(), server_hostname=addressWithoutHttps) as s: try: