mirror of
https://github.com/certbot/certbot.git
synced 2026-06-05 14:54:24 -04:00
crazy M2Crypto bug: you have to get_pubkey().get_rsa() not just get_pubkey()
This commit is contained in:
parent
0da690afb2
commit
5b43540452
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ def pubkey(csr):
|
|||
@return: a string of the PEM-encoded public key
|
||||
"""
|
||||
req = M2Crypto.X509.load_request_string(csr)
|
||||
return req.get_pubkey().as_pem(None)
|
||||
return req.get_pubkey().get_rsa().as_pem(None)
|
||||
|
||||
def subject(csr):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue