Browse Source

apache: use fullchain instead of plain cert file

Helmut Pozimski 11 months ago
parent
commit
3a6516639a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      amulib/apache.py

+ 1 - 1
amulib/apache.py

@@ -77,7 +77,7 @@ def run(config=None, acme_dir="/var/lib/acme",
                 OpenSSL.crypto.FILETYPE_PEM, cert_text)
             if "Let's Encrypt" in x509_current_cert.get_issuer().__str__():
                 acme_cert_path = os.path.join(acme_dir, "live", entry[0],
-                                              "cert")
+                                              "fullchain")
                 try:
                     with open(acme_cert_path, "r") as acme_cert_file:
                         acme_cert_text = acme_cert_file.read()