bitwarden

This commit is contained in:
jaydee
2024-11-05 18:29:39 +01:00
parent 800eae3a28
commit 8bb2a71d48
2 changed files with 39 additions and 30 deletions

View File

@@ -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: