Fix CSR loading in ACME example client script.

This commit is contained in:
Jakub Warmuz 2015-07-12 11:39:37 +00:00
parent 5d6d901655
commit 12720a2252
No known key found for this signature in database
GPG key ID: 2A7BAD3A489B52EA

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: