summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Roesler <diafygi@gmail.com>2015-12-03 21:40:48 -0800
committerDaniel Roesler <diafygi@gmail.com>2015-12-03 21:40:48 -0800
commit28f03f0ba332d9c355cb63a7633be32147105992 (patch)
tree41e2336d6a94bcf3018520f4b2dc67cba8bb8151
parent99c2175c6eefb265b0eacac5072ced344b9254f9 (diff)
use the 'uri' key in the responses dict
-rw-r--r--sign_csr.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sign_csr.py b/sign_csr.py
index 1afbf7b..fed7807 100644
--- a/sign_csr.py
+++ b/sign_csr.py
@@ -297,7 +297,7 @@ STEP 3: You need to sign some more files (replace 'user.key' with your user priv
STEP {}: Please update your server to serve the following file at this URL:
--------------
-URL: http://{}/.well-known/acme-challenge/{}
+URL: http://{}/{}
File contents: \"{}\"
--------------
@@ -305,7 +305,7 @@ Notes:
- Do not include the quotes in the file.
- The file should be one line without any spaces.
-""".format(n + 4, i['domain'], responses[n]['data'].split(".")[0], responses[n]['data']))
+""".format(n + 4, i['domain'], responses[n]['uri'], responses[n]['data']))
stdout = sys.stdout
sys.stdout = sys.stderr