mirror of
https://gitlab.sectorq.eu/jaydee/python.git
synced 2025-12-14 10:44:52 +01:00
bitwarden
This commit is contained in:
@@ -36,7 +36,7 @@ def check_and_write_cert_info(directory_path, output_json_path):
|
||||
rel_files.append(l[1].replace(";",""))
|
||||
if line == None:
|
||||
print('no matches found')
|
||||
print(rel_files)
|
||||
#print(rel_files)
|
||||
# fullchain_pem_files = [file for file in files if file.lower() == "fullchain.pem"]
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ def check_and_write_cert_info(directory_path, output_json_path):
|
||||
|
||||
fullchain_pem_file = fullchain_pem_file.replace("/data/","/share/docker_data/nginx/data/")
|
||||
fullchain_pem_file = fullchain_pem_file.replace("/etc/letsencrypt/","/share/docker_data/nginx/letsencrypt/")
|
||||
print(f"Checking {fullchain_pem_file}")
|
||||
#print(f"Checking {fullchain_pem_file}")
|
||||
cert_info = get_cert_info(fullchain_pem_file)
|
||||
|
||||
if cert_info:
|
||||
|
||||
Reference in New Issue
Block a user