ssl-guides 2026-12-02 ⏱ 4 min read

How to Create a Free SSL Certificate

How to Create a Free SSL Certificate

You can create a free SSL certificate in five steps: make a private key, build the CSR, submit it to a certificate authority, download the files, then verify them before you install. The CA step cannot be skipped for a public site.

Two paths

If you use an ACME client like Certbot or acme.sh, it creates the key and CSR for you and handles validation. Use that if you can. The manual path below is for servers where you cannot run a client, or when you want to see each step. For the automatic route, see how to automate certificate management.

Create a free SSL certificate: the private key

openssl genrsa -out example.com.key 2048

For an ECDSA key, which is smaller and faster, use:

openssl ecparam -genkey -name prime256v1 -noout \
  -out example.com.key

Protect the file. Set permissions so only the web server user or root can read it:

chmod 600 example.com.key

You can also use the browser-based private key generator, but a key made on your own machine never travels anywhere, which is safer.

Step 2: create the CSR

openssl req -new -key example.com.key -out example.com.csr \
  -subj "/CN=example.com" \
  -addext "subjectAltName=DNS:example.com,DNS:www.example.com"

List every hostname you want covered in the subjectAltName field. The common name alone is not enough for modern browsers. If you prefer a form, use the CSR generator. Whichever you use, check the result:

openssl req -in example.com.csr -noout -text

Step 3: submit to a CA

Choose a CA that offers free domain validated certificates, such as ZeroSSL or SSL.com. Check each CA's current page for limits, validity periods and whether a free account is needed. Paste your CSR into the order form, or let the site generate the key for you, then choose a validation method.

MethodWhat you doNotes
DNS TXT or CNAMEAdd a record the CA gives youWorks for wildcards where offered
HTTP fileUpload a file to a set pathPort 80 must be reachable
EmailClick a link sent to an admin addressDepends on mailbox access

Step 4: download and assemble

The CA gives you your certificate plus an intermediate bundle. Web servers need the certificate first, then the intermediates, in one file for Nginx:

cat example.com.crt ca-bundle.crt > fullchain.pem

Leaving out the intermediates causes "not trusted" errors on some devices. See how to fix an incomplete chain.

Create a free SSL certificate: verify first

Check that the key and certificate match by comparing their modulus or public key hashes. The matcher guide walks through it. Then install the files and run a chain check with the free SSL chain checker.

Do not use self-signed for public sites

You can create a self-signed certificate in one command, and it is fine for local testing. Visitors will get a full-page warning on a public site, so it is not a real solution. For local work, read enabling HTTPS on localhost.

Plan for renewal

Free certificates are short lived. Many last 90 days, and the industry limit is shrinking, as the 47-day lifetime guide explains. A manual process means you repeat steps 1 to 4 each cycle. Moving to ACME removes that chore.

A note on wildcards

A wildcard certificate covers one level of subdomains, such as blog.example.com, but not a.b.example.com. It needs DNS validation. Use it when you run many subdomains, and keep in mind that one leaked key then exposes all of them.

Related reading: the full walkthrough, the CSR generator, fixing DNS validation when you submit the CSR and decoding the CSR before you order.

Frequently Asked Questions

RSA or ECDSA?

Both are accepted by browsers. ECDSA keys are smaller and faster. RSA 2048 works with the oldest clients. If you must support very old devices, test before you switch.

Can I reuse the same CSR for renewal?

You can, but a new key each time limits the damage if a key leaks. ACME clients make a new key by default in most setups.

Where should the key live?

On the server that uses it, readable only by root or the web server account. Do not commit it to a repository or send it by email.

Can I create a certificate without a CSR?

Yes. Some ACME clients generate the key and the request for you and never show the CSR. If your CA asks for one, generate it from the same key you will install, or the certificate will not match your private key.

🔒 Test Your Website SSL Certificate Now
Run Free SSL Check →

✅ Post-Installation Verification & SEO Checklist

After applying the steps above, run through this 5-point checklist to prevent browser warnings and protect your Google SEO rankings:

  • Verify full CA chain trust and TLS 1.3 support using our Live SSL Checker.
  • Scan for Mixed Content HTTP links and check HSTS/CSP headers on Security Headers Checker.
  • Enforce a permanent 301 HTTP-to-HTTPS redirect with our HTTPS Redirect Generator.
  • Confirm both root and www versions resolve cleanly to one canonical HTTPS URL.
  • Verify your HTTPS property and sitemap.xml inside Google Search Console and Bing Webmaster Tools.
Technically Reviewed by TryFreeSSL Security Team
Last updated: 2026-12-05
About Us →

Free SSL Certificates, Live SSL Checker & CSR Generator

Issue trusted Let's Encrypt SSL certificates in 60 seconds with zero server setup.

Related Articles

🤖 TryFreeSSL AI Assistant