[Cryptography-dev] OpenSSL style formatting of x509 subject
Robert Young
bubblenut at gmail.com
Tue Apr 3 11:33:09 EDT 2018
Hi,
Is there a way of getting the OpenSSL (but pretty ubiquitous) formatting of
the x509 subject? What I'm after is something like
/OU=Rob Corp West/O=Rob
Corp/CN=this.that.rob.corp/dnQualifier=R0ASJANSK123213fc
However, when I load my certificate with
cryptography.x509.load_pem_x509_certificate and look at the subject I can
only seem to get the OIDs and longer form names (commonName,
organizationUnit etc). Is there a convenient way to get the short names so
I can format the subject as above?
Thanks,
Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cryptography-dev/attachments/20180403/1fda2ca5/attachment.html>
More information about the Cryptography-dev
mailing list