How can I parse a certificate signing request with Perl?

I want to use Perl to extract information from Request Signing Request , preferably without starting an external openssl process. Since CSR is stored in base64 encoded ASN.1 format, I tried the Convert :: PEM module . But this requires a description of the contents of ASN.1, which I was unable to compile (ASN.1 is a beast).

Does anyone have a proper ASN.1 description for CSR or a module that parses such a request?

+3
source share
2 answers

Perhaps Convert :: X509 can help you. See Also Convert :: X509 :: Parser .

+5
source

, CSR? : PKCS # 10 SPKAC. RFC 2986. , .

+3

Source: https://habr.com/ru/post/1698577/


All Articles