mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 00:02:14 -04:00
Merge pull request #2482 from pfeyz/acme-example-client-fix
wrap csr in ComparableX509
This commit is contained in:
commit
356cf890e6
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ csr = OpenSSL.crypto.load_certificate_request(
|
|||
OpenSSL.crypto.FILETYPE_ASN1, pkg_resources.resource_string(
|
||||
'acme', os.path.join('testdata', 'csr.der')))
|
||||
try:
|
||||
acme.request_issuance(csr, (authzr,))
|
||||
acme.request_issuance(jose.util.ComparableX509(csr), (authzr,))
|
||||
except messages.Error as error:
|
||||
print ("This script is doomed to fail as no authorization "
|
||||
"challenges are ever solved. Error from server: {0}".format(error))
|
||||
|
|
|
|||
Loading…
Reference in a new issue