diff options
author | Daniel Roesler <diafygi@gmail.com> | 2015-11-05 07:46:57 -0800 |
---|---|---|
committer | Daniel Roesler <diafygi@gmail.com> | 2015-11-05 07:46:57 -0800 |
commit | af084d541abeff4acab4b15ccd86cb4587646b53 (patch) | |
tree | dbc3d13cb78ce19829bc7d2c4ae759892fbe7046 /sign_csr.py | |
parent | 8294ed7af3c49252f1b3e8699332f7811f4e4d77 (diff) |
cleaned up various descriptions
Diffstat (limited to 'sign_csr.py')
-rw-r--r-- | sign_csr.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sign_csr.py b/sign_csr.py index 662a9fb..643fbb0 100644 --- a/sign_csr.py +++ b/sign_csr.py @@ -6,7 +6,10 @@ def sign_csr(pubkey, csr, email=None): """Use the ACME protocol to get an ssl certificate signed by a certificate authority. + :param string pubkey: Path to the user account public key. :param string csr: Path to the certificate signing request. + :param string email: An optional user account contact email + (defaults to webmaster@<shortest_domain>) :returns: Signed Certificate (PEM format) :rtype: string @@ -357,7 +360,7 @@ sudo python -c "import BaseHTTPServer; \\ sys.stderr.write("Passed {} challenge!\n".format(i['domain'])) break else: - raise KeyError("'{}' challenge did not pass: {}".format(i['domain'],challenge_status)) + raise KeyError("'{}' challenge did not pass: {}".format(i['domain'], challenge_status)) # Step 14: Get the certificate signed sys.stderr.write("Requesting signature...\n") |