Compare a certificate request with the intended names
Admin ·
Before submitting a signing request, compare its requested names and key with your deployment plan. A PKCS#10 request contains a subject, a public key and optional attributes. Its signature provides a separate check of the request information.
Compare the subject and three requested names
Use Download example CSR in the workspace, switch Input format to PEM or DER file, and select lantern-certificate-request.pem. Choose Read request. The subject lists Lantern Lab and storefront.example.test.
Check the requested alternative names separately. The example has two DNS names, storefront.example.test and assets.example.test, and an IP address, 192.0.2.42. The SAN extension has OID 2.5.29.17. Compare every requested name against the service inventory before submission.
DNS storefront.example.test
DNS assets.example.test
IP 192.0.2.42Check the signature using the request's public key
Enable Verify request signature and read the example again. The sample uses a P-256 EC public key and an ECDSA signature with SHA-256. Expect Verified.
The verification establishes a mathematical match between the included key and signed request information. Certification authorities apply separate rules for identity, name authorization and issuance. Compare any issued certificate with the request after it arrives.
Compare PEM and DER copies with the request fingerprint
PEM puts Base64 around DER request bytes. Convert the sample to DER with the OpenSSL command below and read the resulting file. The request SHA-256 fingerprint and DER length should match the PEM report.
Download JSON report when both copies agree. The report includes subject names and requested extensions. It shows only OIDs for request attributes, which can carry other values in the original CSR.
openssl req -in lantern-certificate-request.pem -outform DER -out lantern-certificate-request.derCommon questions
Why is there no certificate expiration date?
PKCS#10 carries request information. The issued X.509 certificate carries a validity interval.
What is the difference between Unavailable and Does not match?
Unavailable means the browser or decoder could not perform the check. Does not match means it ran the check and the signature failed.