generated from nathanwoodburn/python-webserver-template
feat: Update format for cert domains
All checks were successful
Build Docker / BuildImage (push) Successful in 1m7s
All checks were successful
Build Docker / BuildImage (push) Successful in 1m7s
This commit is contained in:
2
tools.py
2
tools.py
@@ -97,7 +97,7 @@ def check_ssl(domain: str):
|
|||||||
if domain.endswith(cn[1:]):
|
if domain.endswith(cn[1:]):
|
||||||
domain_check = True
|
domain_check = True
|
||||||
|
|
||||||
returns["cert_domains"] = cert_domains
|
returns["cert"]["domains"] = cert_domains
|
||||||
|
|
||||||
expiry_date = cert_obj.not_valid_after_utc
|
expiry_date = cert_obj.not_valid_after_utc
|
||||||
# Check if expiry date is past
|
# Check if expiry date is past
|
||||||
|
|||||||
Reference in New Issue
Block a user