A certificate signing request carries a public key and identifying details to a certificate authority. Learn how the CA uses it to issue a digital certificate—and why the matching private key must stay under your control, never sent with the request.

Multiple Choice

Which file does an entity send to a certificate authority to request a certificate?

To obtain a certificate from a certificate authority, you first create a key pair and generate a Certificate Signing Request that includes your public key and identifying information. This CSR is the file you send to the CA to request a certificate. The CA uses the CSR to issue a certificate that binds your public key to your identity, after verifying the details. The private key should stay private and never be sent to the CA; it is what you use to prove possession of the corresponding public key. A self-signed certificate is created by you and signed with your own key, not requested from a CA. A certificate is the final issued document, not what you send to request one.

What a Certificate Signing Request Does in Public-Key Security

A digital certificate is a bit like an identity card for a website or service. It tells other computers, “This public key belongs to this organization or domain.” But before a certificate authority can issue that card, it needs a request containing the details to be certified. That request is called a certificate signing request, or CSR.

A CSR is a structured file that an organization sends to a certificate authority (CA) when asking for a digital certificate. It usually contains a public key and identifying information, such as a domain name or organization name. It does not contain the matching private key. That separation is more than a technical detail: it’s central to how public-key security stays secure.

First, the key pair

The certificate process begins with a pair of mathematically linked keys: a public key and a private key. The public key can be shared. The private key must be guarded.

These keys have different jobs. A public key may be used to encrypt information or verify a digital signature, depending on the system. The private key is used to decrypt certain data or create signatures that others can verify with the public key. Although the keys are related, the public key does not reveal the private key in any practical way when sound cryptography is used.

Think of the public key as a mailbox slot and the private key as the key that opens the mailbox. Many people can send something to the slot, but only the holder of the key can access what’s inside. The comparison isn’t perfect, but it gets at an important idea: sharing the public key is expected; sharing the private key defeats the purpose.

An organization typically creates its key pair on a server or another system it controls. It then uses the private key to sign the CSR. This signature helps show that the requester has access to the private key that matches the public key in the request. The private key itself remains where it was created.

What goes into a CSR?

A CSR usually includes the public key and a set of identity details, often called the subject information. For a website certificate, that may include a domain name. For other certificate types, the request may include an organization’s legal name, location, or other attributes.

The exact information depends on the certificate and the CA’s requirements. A CSR might also include requested certificate extensions, such as details about how the resulting certificate is intended to be used. The CA does not have to accept every requested detail as submitted. It evaluates the request according to its rules and the kind of certificate being issued.

Most CSRs use a standard format, commonly PKCS #10. They’re often stored in a text-based encoding that begins with a line such as -----BEGIN CERTIFICATE REQUEST-----. That format can look plain, even a little old-fashioned, but it carries structured cryptographic data. A simple text file can still hold information that systems need to handle with care.

What happens after the CSR reaches the CA?

Sending a CSR is a request, not a guarantee. The CA reviews the information and verifies the requester’s authority according to the certificate type. For a domain certificate, the CA may confirm that the requester controls the domain. Depending on the certificate, identity checks may be more extensive.

If the request passes the required checks, the CA creates and signs a certificate. The certificate binds the public key to verified identity information and includes other details, such as the issuer, validity period, and permitted uses. A browser or other system can then examine the certificate and determine whether it trusts the issuing CA and whether the certificate is valid for the connection.

This is why a CSR and a certificate are not interchangeable. The CSR travels to the CA to ask for a certificate. The issued certificate comes back from the CA. One is a request; the other is the signed result.

A simplified sequence looks like this:

  1. Generate a public and private key pair.

  2. Create a CSR containing the public key and identifying details.

  3. Sign the CSR with the private key.

  4. Send the CSR to a CA.

  5. Complete the CA’s required checks.

  6. Receive the issued certificate and install it with the appropriate private key.

The details vary by system, but the principle stays the same: the public key can travel, while the private key stays protected.

Why the private key must stay private

It can be tempting to treat all certificate-related files as harmless paperwork. They aren’t. A private key is a secret credential. If someone else obtains it, they may be able to impersonate the organization, decrypt certain communications, or sign data as though they were the legitimate key holder—depending on the key’s purpose and the surrounding setup.

So a private key should never be sent to a CA as part of the CSR process. A reputable CA does not need it. The CA needs the public key, which is included in the CSR, and evidence that the requester controls the corresponding private key. Those are very different things.

Key handling matters after issuance, too. Organizations should limit who can access private keys, store them securely, and replace them if they may have been exposed. Hardware security modules and managed key services can help protect high-value keys by keeping them inside controlled systems. For a small site, secure server configuration may be enough; for a large service, key management often calls for more formal controls.

How a CSR differs from a self-signed certificate

A self-signed certificate is signed by the entity that created it, rather than by a trusted CA. It can be useful in internal systems, development environments, or other settings where an organization manages trust directly. But it does not carry the same third-party validation as a certificate issued by a CA.

A CSR, by contrast, is not itself a certificate. It asks a CA to issue one. The CA’s signature on the resulting certificate is what connects the public key and identity details to the CA’s trust structure. That signature doesn’t magically make every claim true; the CA’s verification process is what gives the certificate its value.

A small file with a big job

The CSR may seem like a routine step in setting up secure communications, but it sits at a key boundary. It lets an organization submit its public key and identity details without handing over the secret that makes the key pair useful. In other words, it supports verification while preserving control.

That design reflects a broader information security principle: share only what another party needs. The CA needs the public key and enough information to evaluate the request. It does not need the private key. Keeping that distinction clear helps prevent a common and serious mistake.

When a certificate is issued, the CSR has done its job. The certificate can be deployed, the private key remains protected, and systems that trust the CA can use the certificate to assess the identity tied to the public key. A modest request file, then, helps connect cryptography with real-world identity—without asking the secret to leave home.