소스 검색

apache: use fullchain instead of plain cert file

Helmut Pozimski 11 달 전
부모
커밋
3a6516639a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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()