From bubblenut at gmail.com Tue Apr 3 11:33:09 2018 From: bubblenut at gmail.com (Robert Young) Date: Tue, 3 Apr 2018 16:33:09 +0100 Subject: [Cryptography-dev] OpenSSL style formatting of x509 subject Message-ID: 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: