Fix CSR loading in ACME example client script.

This commit is contained in:
Jakub Warmuz
2015-07-12 11:53:18 +00:00
parent 5d6d901655
commit 12720a2252
+1 -1
View File
@@ -41,7 +41,7 @@ authzr, authzr_response = acme.poll(authzr)
csr = OpenSSL.crypto.load_certificate_request(
OpenSSL.crypto.FILETYPE_ASN1, pkg_resources.resource_string(
'acme.jose', os.path.join('testdata', 'csr.der')))
'acme', os.path.join('testdata', 'csr.der')))
try:
acme.request_issuance(csr, (authzr,))
except messages.Error as error: