How to string manipulate/extract subject contents in a CSR using OpenSSL command + Perl?
问题 I'm currently working to extract properly each contents in a CSR file's subject. I have here a working snippet, However I got stuck when values have a slash / (ex. CSR content has OrganizationUnit = orgunit/testou) on the values. The way I'm doing to extract the contents is to use regex,split it and push that in a Hash, and throw it back in the front end. See below: sub CSRDecode{ ########################################################################### ################Do Your Validation###