From 0effb6afeff9373680ed1714cc193b9594c6b7df Mon Sep 17 00:00:00 2001 From: James Nylen Date: Wed, 16 Dec 2015 21:54:29 -0600 Subject: Provide a note about using an existing webserver Follow-up to https://github.com/diafygi/letsencrypt-nosudo/pull/20. This would've saved me time because I wouldn't have needed to run `sign-csr.py` again and sign more stuff, or go looking for this option. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 3c4f96d..1d32e1c 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,8 @@ openssl req -new -sha256 -key domain.key -subj "/" -reqexts SAN -config <(cat /e Third, you run the script using python and passing in the path to your user account public key and the domain CSR. The paths can be relative or absolute. +By default the script will ask you to start a webserver on port 80. If you +already have one, use the `--file-based` option. ```sh python sign_csr.py --public-key user.pub domain.csr > signed.crt -- cgit v1.2.3 From f53c7b52dd7045ffe6dcd786c042ea8f86fc29eb Mon Sep 17 00:00:00 2001 From: James Nylen Date: Wed, 16 Dec 2015 23:05:32 -0500 Subject: Fix documentation text at the end of sign_csr.py too --- sign_csr.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sign_csr.py b/sign_csr.py index 3c80a95..ab20a40 100644 --- a/sign_csr.py +++ b/sign_csr.py @@ -396,7 +396,12 @@ sudo python -c "import BaseHTTPServer; \\ # Step 15: Convert the signed cert from DER to PEM sys.stderr.write("Certificate signed!\n") - sys.stderr.write("You can stop running the python command on your server (Ctrl+C works).\n") + + if file_based: + sys.stderr.write("You can remove the acme-challenge file from your webserver now.\n") + else: + sys.stderr.write("You can stop running the python command on your server (Ctrl+C works).\n") + signed_der64 = base64.b64encode(signed_der) signed_pem = """\ -----BEGIN CERTIFICATE----- -- cgit v1.2.3 From c609a1c810c538f7826aa16fbf343ed19e193cb5 Mon Sep 17 00:00:00 2001 From: James Nylen Date: Fri, 18 Dec 2015 00:20:22 -0600 Subject: Add "instead" --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1d32e1c..abed9b5 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ openssl req -new -sha256 -key domain.key -subj "/" -reqexts SAN -config <(cat /e Third, you run the script using python and passing in the path to your user account public key and the domain CSR. The paths can be relative or absolute. By default the script will ask you to start a webserver on port 80. If you -already have one, use the `--file-based` option. +already have one, use the `--file-based` option instead. ```sh python sign_csr.py --public-key user.pub domain.csr > signed.crt -- cgit v1.2.3