OpenSSL CSR File Structure and Components
What is the OpenSSL CSR file structure and components?
By default, CSR (Certificate Signing Request) files generated by the OpenSSL "req" command follow these rules:
1. CSR files are stored in PEM (Privacy-enhanced mail) format, which uses DER (Distinguished Encoding Rules) standard to serialize data elements into a binary string, then uses Base64 to encode the binary string into a printable character string.
2. CSR data elements follow the "RFC5967 - PKCS #10: Certification Request Syntax Specification, Version 1.7" specification.
The RFC5867, or PKCS#10, specifies that a CSR should have 3 parts:
1. "certificationRequestInfo" - Provides information of the certification request, which contains:
2. "signatureAlgorithm" - Provides what algorithm was used to generate the digital signature of the "certificationRequestInfo".
3. "signature" - Provides the digital signature of the "certificationRequestInfo", signed by the private key of the subject. The signature can be verified by the public key included in the "certificationRequestInfo".
2018-01-19, 811👍, 1💬
Certificate Summary: Subject: www.amazon.cn Issuer: VeriSign Class 3 Secure Server CA - G3 Expiratio...
Certificate Summary: Subject: DigiCert High Assurance CA-3 Issuer: DigiCert High Assurance EV Root C...
What is the password for the Java default trusted keystore file: "cacerts"? The Java Keytool prompts...
Certificate Summary: Subject: SecureTrust CA Issuer: SecureTrust CA Expiration: 2029-12-31 19:40:55 ...
Certificate Summary: Subject: VeriSign Class 3 International Server CA - G3 Issuer: VeriSign Class 3...