Menu

A CSR is a request, so check the issued certificate before deploying it
📰

A CSR is a request, so check the issued certificate before deploying it

DEV Community: security·PKI security·17 days ago
#JMYfiBJA
#devtosecurity#devto#dev#request#service
Long article (604 words) — no AI summary yet.
Reading 0:00
15s threshold

Generating a Certificate Signing Request can feel like the last difficult step in setting up HTTPS. The CA returns a file, and the temptation is to deploy it immediately. Before deployment, compare what you requested with what you actually received.

A CSR carries a public key and requested information, protected by a signature made with the corresponding private key. It is not itself a CA-issued certificate, and a valid CSR signature does not establish ownership of every requested name. RFC 2986 — PKCS #10 requests

Write the intended service names first

For a small application, the list might be:

Required: example.com Required: www.example.com Not needed: admin.example.com Not needed: every future subdomain

Enter fullscreen mode

Exit fullscreen mode

This list is a design input. Adding a wildcard simply because it is convenient expands the set of names the certificate can represent.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.