|
@@ -174,8 +174,7 @@ def get_crt(account_key, csr, acme_dir):
|
|
|
if __name__ == "__main__":
|
|
|
parser = argparse.ArgumentParser(
|
|
|
formatter_class=argparse.RawDescriptionHelpFormatter,
|
|
|
- description=textwrap.dedent(
|
|
|
- """\
|
|
|
+ description=textwrap.dedent("""\
|
|
|
This script automates the process of getting a signed TLS certificate from
|
|
|
Let's Encrypt using the ACME protocol. It will need to be run on your server
|
|
|
and have access to your private account key, so PLEASE READ THROUGH IT! It's
|
|
@@ -188,8 +187,7 @@ if __name__ == "__main__":
|
|
|
===Example Crontab Renewal (once per month)===
|
|
|
0 0 1 * * python /path/to/acme_tiny.py --account-key /path/to/account.key --csr /path/to/domain.csr --acme-dir /usr/share/nginx/html/.well-known/acme-challenge/ > /path/to/signed.crt 2>> /var/log/acme_tiny.log
|
|
|
==============================================
|
|
|
- """
|
|
|
- )
|
|
|
+ """)
|
|
|
)
|
|
|
parser.add_argument("--account-key", required=True, help="path to your Let's Encrypt account private key")
|
|
|
parser.add_argument("--csr", required=True, help="path to your certificate signing request")
|