Use it when configuring, checking or troubleshooting CSR in PKI.
CSR
A Certificate Signing Request contains a public key, requested subject/extension data and a signature proving control of the corresponding private key, but the CA must independently authorize final certificate content.
1. A CSR contains the public key and requested identity, signed by the private key.
2. Generate the key on the system that will use it.
3. Include SANs.
4. Keep private key protected.
5. CA may override fields.
key pair → CSR → CA → certificate
Context & applicabilityCommon mistakes · platform/version boundaries
A valid CSR signature shows possession of the request's private key at creation, but it does not show requester identity, name control, requested authorization or secure key custody afterward.
Suspicious evidence: CSR generated on untrusted host, weak key, arbitrary SAN/wildcard, copied private key, request signature ignored, CA copies unsafe extensions or issued certificate mismatches endpoint key.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
private-key generation → public key and requested attributes → CSR signature/evidence → RA/CA validation and profile filtering → certificate issuance → deployment
Step 2 Common mistakes Narrow the fault
- Only CN, no SAN (browsers ignore CN).
- Sending the private key with the CSR.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- CSR signature valid ≠ requester authorized for names or usages.
- Requested SAN/EKU ≠ CA should issue them unchanged.
- CSR contains public key ≠ private key safely generated/stored.
- CSR approval ≠ certificate deployed to the right endpoint.
openssl req -new -newkey rsa:3072 -nodes -keyout key.pem -out req.csr -subj '/CN=<name>' -addext 'subjectAltName=DNS:<name>'— create CSR with SANopenssl req -in req.csr -noout -text -verify— inspect and verifycertreq -new request.inf request.csr— Windows
ReferenceWhy it matters1 section · depth on demand
In depth
A Certificate Signing Request (CSR) contains the public key and requested identity information, signed with the matching private key, and is sent to a CA for issuance. The private key stays on the requesting system.
openssl req -new -newkey rsa:3072 -nodes -keyout server.key -out server.csr \
-subj "/CN=netbox.example.com" \
-addext "subjectAltName=DNS:netbox.example.com,DNS:netbox"
openssl req -in server.csr -noout -text | grep -A1 -E 'Subject:|Alternative'
Checklist:
| Item | Detail |
|---|---|
| SAN | Include every hostname clients use |
| Key | Generated on the server; strong algorithm |
| Private key | Never sent to the CA or emailed |
| Verify | Inspect the CSR before submitting |
Network devices generate CSRs too (crypto pki enroll), keeping keys on the device.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
A valid CSR signature shows possession of the request's private key at creation, but it does not show requester identity, name control, requested authorization or secure key custody afterward.
Commands
openssl req -new -newkey rsa:3072 -nodes -keyout web.key -out web.csr -subj "/CN=www.example.com" -addext "subjectAltName=DNS:www.example.com,DNS:example.com"
openssl req -in web.csr -noout -text
Documented example, not captured output. The private key never leaves the requester.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in PKI → CSR. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc5280 · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
PKI → CSR proof map
Fast scope, effective cryptographic state, verification and closure boundaries for PKI → CSR.
| Boundary | Establish | Does not establish |
|---|---|---|
| Scope and intent | Asset/data/peer, security property, identity/name, protocol and time | Does not prove algorithm, key, trust or endpoint correctness |
| Effective cryptographic state | Exact version, algorithm/mode/parameters, key/certificate/path and negotiated result | Configuration or object presence does not prove correct use |
| Verification outcome | Positive, negative, tamper, expiry/revoke and failure tests correlated with evidence | One success does not prove every peer, client, path or lifecycle stage |
| Closure | Original operation succeeds; old/unsafe state is retired and regression checks pass | Administrative workflow completion alone is not closure |