CSR decoder
Decode a PEM certificate signing request in your browser: the subject, requested alternative names, key algorithm and size, and the signature algorithm.
It is read in your browser and is not sent anywhere.
Everything you type here stays in your browser. Nothing is sent to HardenKit or to anyone else.
How to use the CSR decoder
- Paste the request, starting with -----BEGIN CERTIFICATE REQUEST-----.
- Check the subject and every requested alternative name.
- Check the key algorithm and size.
- Fix what the findings point at, make a new request if needed, then send it to your CA.
About this tool
A certificate signing request is what you send to a certificate authority to get a certificate. It holds your public key, the names you want the certificate to cover, and a signature made with the matching private key, which proves you hold it. The format is PKCS#10, encoded in DER and wrapped in Base64 between BEGIN CERTIFICATE REQUEST lines.
Decoding a request before you submit it catches the mistakes that cost a reissue: a misspelled host name, a missing www or wildcard name, a 1024-bit key left over from an old script, or names placed only in the common name. Clients match host names against the subject alternative names, so those are the ones to check. This tool shows them with the key algorithm and size and the signature algorithm.
A request holds no secret: the private key stays on the machine that made it, and the request is safe to send. Still, a CA is free to ignore or change what you asked for, so decode the certificate you receive as well. The checks here are a short set of rules for weak keys, old hashes and missing names, and do not replace reading the request.
Sources
Questions
A certificate signing request: a file with your public key and the identity you want certified, signed with your private key. The certificate authority checks that you control the names and issues a certificate for that key.
No. It contains the public key and a signature made by the private key. The private key never leaves your machine and must not be sent to the CA or anyone else.
Run openssl req -in request.csr -noout -text. It prints the subject, the public key and the requested extensions, the same fields this page shows.
With OpenSSL 1.1.1 or later, add -addext "subjectAltName=DNS:example.com,DNS:www.example.com" to the openssl req command. Older versions need a config file with a req_extensions section.