diff --git a/ipaserver/plugins/cert.py b/ipaserver/plugins/cert.py index 2e32f4ecd..36a0e8cb3 100644 --- a/ipaserver/plugins/cert.py +++ b/ipaserver/plugins/cert.py @@ -1807,7 +1807,6 @@ class cert_find(Search, CertMethod): # For the case of CA-less we need to keep # the certificate because getting it again later # would require unnecessary LDAP searches. - cert = cert.to_cryptography() obj['certificate'] = ( base64.b64encode( cert.public_bytes(x509.Encoding.DER))