mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 15:40:01 -06:00
certmonger: fix storing retrieved certificates
This was a forgotten part from previous certificate refactoring which would cause issues since the second part of results throughout the dogtag-ipa-ca-renew-agent-submit is expected to be a string. https://pagure.io/freeipa/issue/4985 Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
This commit is contained in:
parent
2a73b5d739
commit
32be3ef622
@ -314,7 +314,7 @@ def store_cert(**kwargs):
|
||||
"Giving up. To retry storing the certificate, resubmit the "
|
||||
"request with CA \"dogtag-ipa-ca-renew-agent-reuse\"")
|
||||
|
||||
return (ISSUED, cert)
|
||||
return (ISSUED, cert.public_bytes(x509.Encoding.PEM).decode('ascii'))
|
||||
|
||||
|
||||
def request_and_store_cert(**kwargs):
|
||||
|
Loading…
Reference in New Issue
Block a user