CSR Generator

Create a certificate signing request and its private key, in your browser.
Names on the certificate: —

    Created by your browser (Web Crypto). Nothing is sent to us.

    A CSR generator creates the private key for your SSL certificate and the certificate signing request (CSR) you send to the certificate authority. The CSR carries your domain names and public key; the private key stays with you and goes on your server next to the certificate.

    Prefer to create the key on your server? The same CSR with OpenSSL 1.1.1 or newer:

    openssl req -new -newkey rsa:2048 -nodes -keyout example.com.key -out example.com.csr -subj '/CN=example.com'

    How to Get an SSL Certificate With Your CSR

    Create the CSR and key, send the CSR to the authority, prove you control the domain, then install the certificate with the key.

    Your browser creates two files and sends nothing: example.com.key goes on your web server and stays secret; example.com.csr goes to the certificate authority, which returns example.com.crt after the domain check; you install the certificate with the key from the same step.
    Two files, two destinations: the .key stays with you, the .csr goes to the certificate authority.
    1. Fill in the form above and click "Create CSR and key". Download the private key first.
    2. Paste the CSR (including the BEGIN and END lines) into your certificate authority's order form.
    3. Prove you control the domain: an email to an admin address, a DNS TXT record, or a file on the website. OV and EV certificates also check your organization.
    4. Install the certificate on your server with the private key (and the intermediate certificates the authority sends).
    5. Check the installed site with the SSL certificate checker.

    Generate a CSR With OpenSSL (Linux, macOS, Windows)

    One command creates the private key and the CSR on your server, so the key never leaves it.

    openssl req -new -newkey rsa:2048 -nodes -keyout example.com.key -out example.com.csr -subj "/C=US/O=Example Inc/CN=example.com" -addext "subjectAltName=DNS:example.com,DNS:www.example.com"
    PartWhat it does
    req -newMakes a new certificate request (CSR)
    -newkey rsa:2048Creates a new 2048-bit RSA key at the same time. For ECDSA P-256: -newkey ec -pkeyopt ec_paramgen_curve:P-256
    -nodesLeaves the key without a password, so the web server can start on its own (OpenSSL 3 also accepts -noenc)
    -keyout · -outFile names for the private key and the CSR
    -subjCountry, organization and common name; skips the questions OpenSSL would otherwise ask
    -addextThe extra names (SANs) the certificate must cover; needs OpenSSL 1.1.1 or newer

    The form above writes this command with your own values. On Windows, OpenSSL comes with Git for Windows (Git Bash). Check the result with openssl req -in example.com.csr -noout -text -verify, or paste it in the CSR decoder.

    Generate a CSR on IIS (Windows Server)

    IIS Manager creates the key and the CSR itself and keeps the key in Windows.

    1. In IIS Manager, select the server, open Server Certificates and click Create Certificate Request…
    2. Fill in the common name (your domain), organization, city, state and country. IIS asks for every field; public authorities ignore the organizational unit.
    3. Choose the Microsoft RSA SChannel provider and a bit length of 2048, then save the request as a file and send its content to the authority.
    4. When the certificate arrives, click Complete Certificate Request… in the same place, then add an https binding to the site.

    The IIS wizard has no field for extra names (SANs). To include them, create the CSR here or with OpenSSL, then join the certificate and key into a .pfx file and import it in Server Certificates:

    openssl pkcs12 -export -out example.com.pfx -inkey example.com.key -in example.com.crt -certfile intermediate.crt

    CSR Fields: What to Enter

    Only the domain name is required. The organization fields matter for OV and EV certificates; DV certificates ignore them.

    FieldWhat to enterExample
    Common name (CN)The main domain. Browsers read the SANs, so it is copied there tooexample.com
    Extra names (SANs)Every other name the certificate must cover; a wildcard covers one levelwww.example.com
    Organization (O)Your company's exact legal name (OV, EV)Example Inc
    City (L) · State (ST)Where the company is registered, written in fullSan Francisco · California
    Country (C)Two-letter ISO code; the UK is GBUS
    Organizational unit (OU) · EmailNot used by public authorities any more (OU removed in 2022, ballot SC47): left out—

    RSA or ECDSA: Which Key for Your Certificate?

    KeyGood for
    RSA 2048The safe default: accepted by every authority and client, including very old ones. The minimum authorities accept
    ECDSA P-256Smaller certificates and faster handshakes, at the same security as RSA 3072; supported by all current browsers
    RSA 3072 · 4096Policies that require more than 2048 bits; slower handshakes on busy servers
    ECDSA P-384Policies that require a 192-bit security level

    The CSR is signed with SHA-256 (SHA-384 for P-384). Built in your browser: the key, the CSR and what you type stay on your device. Last verified 22 November 2026.

    Frequently Asked Questions

    How do I generate a CSR?
    Enter the domain name, any extra names, and (for OV or EV certificates) your organization, city and country. Choose a key, click "Create CSR and key", save the private key, and paste the CSR into your certificate authority's order form. When the certificate arrives, install it on the server together with the private key.
    Is it safe to generate a CSR online?
    Here, yes: the key and the CSR are created by your browser's built-in Web Crypto and nothing is sent to us. You can check it in the browser's network tab, or disconnect from the internet after the page loads. The safest place is still the server itself, so the key never leaves it: the OpenSSL command on this page makes the same CSR there.
    How do I generate a CSR with OpenSSL?
    Run openssl req -new -newkey rsa:2048 -nodes -keyout example.com.key -out example.com.csr with your names in -subj and -addext "subjectAltName=…" (OpenSSL 1.1.1 or newer). The form on this page writes the full command with your values, ready to paste on Linux, macOS or Windows.
    Which key should I choose for my CSR?
    RSA 2048 or ECDSA P-256: every public certificate authority and browser accepts both. ECDSA P-256 is smaller and faster; RSA 2048 works with the oldest clients. RSA 3072 or 4096 and ECDSA P-384 are stronger but slower.
    How do I make a CSR for a wildcard certificate?
    Enter *.example.com as the domain. A wildcard covers one level of subdomains (www.example.com, shop.example.com) but not example.com itself, so add example.com as an extra name.
    Do I need a new CSR to renew my certificate?
    Most authorities let you reuse the old CSR, but a new CSR with a new private key is better practice: a key that never changes is a key that may have leaked. Certificates now last at most 200 days, so renewals come often; automating them (ACME, Let's Encrypt) removes the CSR step altogether.
    Why is there no Organizational Unit (OU) field?
    Public certificate authorities stopped accepting it in September 2022 (CA/Browser Forum ballot SC47), and the email address field is no longer used either. A CSR with them is fine for a private CA; public ones ignore or refuse them.

    Next steps

    Related Tools

    CSR & Certificate Decoder
    Check the CSR before you order, and the certificate when it arrives.
    SSL Certificate Checker
    Check the installed certificate, chain and expiry.
    DNS Lookup
    CAA records: which authorities may issue for your domain.
    HTTP Header Checker
    HSTS and the other security headers, once the site runs on https.