Chapter 4 of 8

From key pair to issued certificate

Certificate signing requests, validation levels, and how an issuing pipeline is put together.

About 11 minutes of reading

By the end of this chapter you can

  • Explain the purpose and contents of a CSR
  • Describe the difference between domain, organisation and extended validation
  • Outline how ACME automates issuance
  • Identify the steps where human review is still required

01The request, not the certificate

You never send your private key to a CA. You send a certificate signing request (CSR). A CSR contains your public key, the names you want on the certificate, and a signature made with your private key proving that you hold it.

  1. 1

    Generate the key pair locally

    On the server, or in an HSM, so the private key never exists elsewhere.

  2. 2

    Build the CSR

    Public key plus requested subject and SANs, signed with the private key.

  3. 3

    Send the CSR to the CA

    Only public information travels.

  4. 4

    CA validates the request

    It checks the signature, the names, and — depending on the product — the organisation behind them.

  5. 5

    CA issues the certificate

    The CA signs your public key and requested names into a new certificate.

openssl req -new -newkey rsa:3072 -nodes -keyout server.key -out server.csr \
  -subj "/CN=shop.example.com" -addext "subjectAltName=DNS:shop.example.com,DNS:www.example.com"
openssl req -in server.csr -noout -text
Generate a key and a CSR, then inspect the request

02How much did the CA actually check?

Certificates are grouped by how strongly the CA verified the requester. The label is printed on the certificate and reflects a real difference in process.

TypeWhat the CA verifiesTypical use
Domain validated (DV)Control of the domain onlyMost web traffic
Organisation validated (OV)Domain control plus organisation identityBusiness sites, partner APIs
Extended validation (EV)Stricter identity checks, documented processBrand-sensitive logins
Client certificateThe identity of a person or deviceMutual TLS, device authentication

03Automatic issuance with ACME

Most certificates today are issued without a human. ACME is the protocol behind that: a client asks for a certificate for a name, the CA issues a challenge, the client proves control of the name, and the certificate is returned.

  1. 1

    Ask

    The client tells the CA which names it wants.

  2. 2

    Challenge

    The CA returns a token to be served at a specific HTTP path (HTTP-01) or published as a DNS record (DNS-01).

  3. 3

    Prove control

    The client publishes the token. The CA fetches or resolves it to confirm control.

  4. 4

    Issue

    The certificate is returned, usually valid for a short period.

  5. 5

    Renew

    The same loop runs again well before expiry, ideally without a human noticing.

DNS-01 is the more powerful option because it can issue wildcard certificates and does not require the service to be reachable from the internet. HTTP-01 is simpler but ties issuance to a running web server.

04Where humans stay in the loop

  • Deciding which internal names are allowed to exist as certificates at all
  • Approving issuance for high-value or customer-facing identities
  • Owning the automation: renewal schedules, monitoring and rollback
  • Handling the cases automation cannot: new domains, mergers, exceptions

What to remember

  • A CSR carries your public key and requested names, never your private key
  • DV, OV and EV describe how much validation the CA performed before issuing
  • ACME turns issuance into a challenge–response loop that software can run
  • Automation still needs owners, policy and monitoring around it