mirror of
https://github.com/certbot/certbot.git
synced 2026-06-03 13:59:02 -04:00
Fix CSR loading in ACME example client script.
This commit is contained in:
parent
5d6d901655
commit
12720a2252
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue