diff options
-rw-r--r-- | ipalib/x509.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ipalib/x509.py b/ipalib/x509.py index b570d0758..3c38a354e 100644 --- a/ipalib/x509.py +++ b/ipalib/x509.py @@ -222,10 +222,9 @@ def get_subject_components(certificate, type=PEM): Load an X509.3 certificate and get the subject. Return a tuple of a certificate subject. - (('CN', u'www.example.com', ('O', u'IPA')) + (('CN', u'www.example.com'), ('O', u'IPA')) """ - # Grab the subject, reverse it, combine it and return it x509cert = load_certificate(certificate, type) return x509cert.get_subject().get_components() |