mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
wrap csr in ComparableX509
This commit is contained in:
parent
9c7e99cbf5
commit
d6b213d1e3
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