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.…