b2KIT

CSR Generator

Generate Certificate Signing Requests with organization, domain, and key information using Web Crypto API.

Tested tool guide Tested browser tools Checked August 16, 2026

What CSR Generator does and how it behaves

Before a certificate authority can issue a certificate for a newly created key, it needs a signed request. This tool takes the domain, organization, and key choices entered in the form, creates the key material with Web Crypto in the current browser, and produces a PKCS #10 CSR containing the public key and requested subject data. Nothing is uploaded. The frequent mistake is treating the CSR as the certificate, or assuming it contains the private key. It is only the enrollment request, and the issued certificate must later be paired with the matching private key.

How the result is produced

1

PKCS #10 structure

The form values become requested subject information in the certification request, alongside the generated public key. Web Crypto creates the key material and signs the request data with the corresponding private key. That signature lets a recipient detect changes to the signed request and verify it against the included public key; it does not make the request certificate-authority approved.

2

Certificate enrollment

The generated request is an input to certificate enrollment, not the final deployable object. A certificate authority can validate the request and issue a certificate whose public key matches the CSR. The private key remains separate and must be retained securely. When the certificate arrives, the server or appliance needs both that certificate and the matching key.

Good uses

  • Requesting a TLS certificate for a new HTTPS hostname when the certificate authority accepts a CSR.
  • Replacing an expiring certificate while creating fresh key material instead of reusing the existing private key.
  • Preparing a signed enrollment request for an internal PKI that issues certificates to services, appliances, or reverse proxies.

Limits and checks

  • Entering one domain does not automatically request every related hostname. Verify the requested names, especially subject alternative names; wildcard, apex, and www names are distinct.
  • Organization text is requested metadata, not proof of identity. The certificate authority may validate, normalize, omit, or reject those values.
  • The CSR and private key are a matched pair. If the key is lost or confused with another key, generate a new key and CSR.

Common questions

Can I install the CSR directly on a web server?

No. A CSR is a signed enrollment request containing a public key and requested identity information. Submit it to a public certificate authority or internal PKI. If the request is approved, the authority returns a certificate. Install that certificate with the private key corresponding to the public key embedded in the CSR.

Why does the same input produce a different CSR?

Generating a new key pair changes the public key and therefore changes the signed CSR, even when the domain and organization fields stay the same. This is expected. Do not test equivalence by comparing CSR text. Instead, inspect the requested identity fields and key properties, and retain the private key belonging to the CSR actually submitted.

References and verification

The behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.

Related Tools