{"id":224,"date":"2026-11-07T21:42:36","date_gmt":"2026-11-07T20:42:36","guid":{"rendered":"https:\/\/nodeguard.io\/blog\/?p=224"},"modified":"2026-11-18T21:34:24","modified_gmt":"2026-11-18T20:34:24","slug":"how-to-install-a-free-ssl-certificate","status":"publish","type":"post","link":"https:\/\/nodeguard.io\/blog\/how-to-install-a-free-ssl-certificate\/","title":{"rendered":"How to Install a Free SSL Certificate with Let&#8217;s Encrypt and Certbot in 10 Minutes: Quick &#038; Fail-Proof"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The first SSL certificate I ever bought cost me $49, took two days of back-and-forth emails to validate, and I still managed to install the wrong chain file. Today the same job costs nothing and takes about ten minutes. If you&#8217;ve been putting off HTTPS because it sounds fiddly, this guide shows you how to install a free SSL certificate on an Ubuntu server with Let&#8217;s Encrypt and Certbot, and how to make sure it renews itself so you never have to think about it again.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I&#8217;ll keep this practical. You&#8217;ll type maybe a dozen commands. Most of the ten minutes goes into checking a few things before you run them, and honestly, that&#8217;s where nearly everyone who gets stuck goes wrong.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here&#8217;s what I&#8217;m assuming: Ubuntu 24.04 or 26.04, Nginx already serving your site over plain HTTP, and a domain you control. Running Apache instead? There&#8217;s a short section for you further down.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What an SSL Certificate Actually Does (and What It Doesn&#8217;t)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">An SSL certificate does two jobs. First, it encrypts the traffic between a visitor&#8217;s browser and your server, so logins, form data and cookies can&#8217;t be read by someone on the same caf\u00e9 Wi-Fi. Second, it proves that the server answering is really the one for your domain, not an impostor sitting in the middle.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Small pedantic note: the protocol has technically been TLS for years, not SSL. Everyone still says SSL, including your hosting panel and probably your clients, so I&#8217;ll stick with it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Without a certificate, Chrome and Firefox show &#8220;Not secure&#8221; next to your address, and any page with a form gets an extra warning. Google has also used HTTPS as a ranking signal since 2014. It&#8217;s a small one, but there&#8217;s no good reason to give it away.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">What an SSL certificate doesn&#8217;t do is make a site secure. The padlock means the connection is private. It says nothing about a weak admin password, an outdated plugin or a server with every port open. I&#8217;ve met plenty of people who treat the padlock as a security badge. It isn&#8217;t one, so keep it in perspective.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How Let&#8217;s Encrypt and Certbot Work Together<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s Encrypt is a free, nonprofit certificate authority run by the Internet Security Research Group (ISRG). Its certificates are trusted by every major browser and operating system, and it issues them automatically through a protocol called ACME. There&#8217;s no order form, no payment and no waiting for someone to approve you.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Certbot is the program on your server that talks to Let&#8217;s Encrypt for you. It&#8217;s built and maintained by the Electronic Frontier Foundation, and it handles the whole process:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>It asks Let&#8217;s Encrypt for a certificate covering your domain names.<\/li>\n\n\n\n<li>It proves you control those domains, usually by serving a temporary file that Let&#8217;s Encrypt fetches over port 80. This is called the HTTP-01 challenge.<\/li>\n\n\n\n<li>It saves the certificate and private key under <code>\/etc\/letsencrypt\/<\/code>.<\/li>\n\n\n\n<li>With the Nginx plugin, it edits your server block so Nginx actually uses them.<\/li>\n\n\n\n<li>It sets up a timer that renews the certificate before it expires.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">That last point is the one that matters most, and it matters more every year. I&#8217;ll explain why in the section on certificate lifetimes.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/nodeguard.io\/blog\/wp-content\/uploads\/2026\/11\/free-ssl-certificate-how-it-works-1024x576.webp\" alt=\"How to install a free SSL certificate \u2013 Certbot requests, validates and installs a Let's Encrypt certificate on Nginx\" class=\"wp-image-226\" srcset=\"https:\/\/nodeguard.io\/blog\/wp-content\/uploads\/2026\/11\/free-ssl-certificate-how-it-works-1024x576.webp 1024w, https:\/\/nodeguard.io\/blog\/wp-content\/uploads\/2026\/11\/free-ssl-certificate-how-it-works-300x169.webp 300w, https:\/\/nodeguard.io\/blog\/wp-content\/uploads\/2026\/11\/free-ssl-certificate-how-it-works-768x432.webp 768w, https:\/\/nodeguard.io\/blog\/wp-content\/uploads\/2026\/11\/free-ssl-certificate-how-it-works-900x506.webp 900w, https:\/\/nodeguard.io\/blog\/wp-content\/uploads\/2026\/11\/free-ssl-certificate-how-it-works.webp 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">How Certbot gets a certificate from Let&#8217;s Encrypt and installs it on your server<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Before You Start: What You Need<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">You don&#8217;t need much, but every item on this list matters:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>An Ubuntu server with sudo access.<\/strong> If you&#8217;re starting from a blank machine, follow our guide on <a href=\"https:\/\/nodeguard.io\/blog\/how-to-set-up-an-ubuntu-vps\">how to set up an Ubuntu VPS<\/a> first. Any VPS with root access works, including a <a href=\"https:\/\/nodeguard.io\/cloud-vps\">NodeGuard Cloud VPS<\/a>.<\/li>\n\n\n\n<li><strong>Nginx serving your domain over HTTP.<\/strong> Our walkthrough on <a href=\"https:\/\/nodeguard.io\/blog\/how-to-install-nginx-on-ubuntu\">how to install Nginx on Ubuntu<\/a> gets you there.<\/li>\n\n\n\n<li><strong>A domain whose DNS points at the server.<\/strong> That means an A record for the bare domain and for <code>www<\/code>, plus an AAAA record if you use IPv6.<\/li>\n\n\n\n<li><strong>Ports 80 and 443 open<\/strong> in your firewall.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">A word on that last one. Port 80 has to stay open even after you switch everything to HTTPS, because Certbot renews over port 80. Close it to &#8220;tidy up&#8221; and nothing breaks today. It breaks two months later, quietly, on a Sunday. Ask me how I know.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Install a Free SSL Certificate on Ubuntu, Step by Step<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">There are seven steps. Steps 1, 2 and 4 are checks, and skipping them causes most failed attempts, so please don&#8217;t.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Make Sure Your Domain Points to This Server<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s Encrypt will connect to whatever IP address your DNS returns. If that isn&#8217;t your server, validation fails. Compare the two:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dig +short example.com A\ndig +short www.example.com A\ncurl -4 icanhazip.com\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The first two lines show what DNS says. The last one shows your server&#8217;s public IPv4 address. They should match. If you changed DNS records in the last hour, give them time to propagate before going further.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One trap catches a lot of people: an old AAAA record. When a domain has one, Let&#8217;s Encrypt prefers IPv6. If that AAAA record still points at your previous host, validation fails even though your A record is perfect. Check it with <code>dig +short example.com AAAA<\/code>, and either point it at this server or delete it.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Open Ports 80 and 443 in the Firewall<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you use UFW, the Nginx package ships with an application profile that opens both ports at once:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo ufw allow 'Nginx Full'\nsudo ufw status\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You should see <code>Nginx Full<\/code> marked ALLOW. If you&#8217;re new to UFW, our guide on <a href=\"https:\/\/nodeguard.io\/blog\/how-to-configure-ufw-firewall-on-ubuntu\">how to configure UFW firewall on Ubuntu<\/a> covers it properly. Also check whether your provider runs a separate network firewall in its control panel. That one blocks traffic before it ever reaches UFW.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Install Certbot<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The EFF recommends installing Certbot as a snap. You get the newest version, and the snap sets up the renewal timer for you. If you installed Certbot with apt in the past, remove that copy first so the two don&#8217;t fight over the same command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt remove certbot\nsudo snap install --classic certbot\nsudo ln -s \/snap\/bin\/certbot \/usr\/bin\/certbot\ncertbot --version\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The symlink makes the <code>certbot<\/code> command available everywhere. Without it you&#8217;ll get &#8220;command not found&#8221; and wonder what you did wrong.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you&#8217;d rather avoid snaps, Ubuntu&#8217;s own package works too:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install certbot python3-certbot-nginx\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The apt version can lag behind the latest release, but it&#8217;s perfectly fine for a normal site. Personally, I use the snap on servers so I never have to wonder which features my version supports. Just pick one method and don&#8217;t install both.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4: Check Your Nginx server_name<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Certbot&#8217;s Nginx plugin finds the right server block by matching the domain names you request against <code>server_name<\/code>. If that line still says <code>_<\/code> or <code>localhost<\/code>, it won&#8217;t know where to put your certificate. Check it:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>grep -R \"server_name\" \/etc\/nginx\/sites-enabled\/\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You want to see something like:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>server_name example.com www.example.com;\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If you edited anything, test and reload:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo nginx -t &amp;&amp; sudo systemctl reload nginx\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step 5: Get Your SSL Certificate with Certbot<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This is the moment the whole guide has been building up to, and it&#8217;s one command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo certbot --nginx -d example.com -d www.example.com\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">On the first run, Certbot asks for an email address and asks you to accept the Let&#8217;s Encrypt terms. The email is optional, but I&#8217;d give one. Let&#8217;s Encrypt stopped sending expiry reminder emails in June 2025, so don&#8217;t expect a warning from them if renewal ever fails. That&#8217;s why Step 7 exists.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Certbot then runs the challenge, fetches the certificate and edits your Nginx config. Recent versions add an HTTP-to-HTTPS redirect automatically. If yours asks, choose the redirect. When it finishes, you&#8217;ll see something like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Successfully received certificate.\nCertificate is saved at: \/etc\/letsencrypt\/live\/example.com\/fullchain.pem\nKey is saved at:         \/etc\/letsencrypt\/live\/example.com\/privkey.pem\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><code>fullchain.pem<\/code> is your certificate plus the intermediate chain that browsers need. <code>privkey.pem<\/code> is your private key. Never copy it into a ticket, a chat or a public repo. Ever.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you&#8217;re scripting server builds, the same command runs without any prompts:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo certbot --nginx -d example.com -d www.example.com \\\n  --non-interactive --agree-tos -m you@example.com --redirect\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step 6: Test HTTPS from the Terminal and the Browser<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Open <code>https:\/\/example.com<\/code> in a private window and look for the padlock. Then confirm from the terminal that plain HTTP redirects:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -I http:\/\/example.com\ncurl -I https:\/\/example.com\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The first should return <code>301 Moved Permanently<\/code> with a <code>Location: https:\/\/...<\/code> header. The second should return <code>200<\/code>. To see who issued the certificate and when it expires:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo | openssl s_client -connect example.com:443 -servername example.com 2&gt;\/dev\/null \\\n  | openssl x509 -noout -issuer -dates\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">For an outside opinion, run your domain through the <a href=\"https:\/\/www.ssllabs.com\/ssltest\/\" target=\"_blank\" rel=\"noopener\">SSL Labs server test<\/a>. A default Certbot setup on a current Nginx usually lands an A, which is more than most sites manage.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 7: Confirm Automatic SSL Certificate Renewal Works<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Here&#8217;s the step people skip, and it&#8217;s the one that bites. Run a renewal rehearsal against Let&#8217;s Encrypt&#8217;s test servers:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo certbot renew --dry-run\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If it ends with &#8220;Congratulations, all simulated renewals succeeded&#8221;, you&#8217;re done. Then check that the timer exists and see what you&#8217;re managing:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl list-timers | grep certbot\nsudo certbot certificates\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The snap&#8217;s timer runs twice a day. On each run Certbot asks whether any certificate is due, and only renews when it is. When the Nginx plugin renews a certificate, it reloads Nginx for you. If another service uses the same certificate, such as a mail server, add a deploy hook so it picks up the new files:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo certbot renew --deploy-hook \"systemctl reload postfix\"\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">That&#8217;s it. Seven steps, and your site now has a free SSL certificate that looks after itself.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Using Certbot with Apache Instead of Nginx<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The process is almost identical. Install Certbot the same way, make sure your virtual host has the right <code>ServerName<\/code> and <code>ServerAlias<\/code>, then swap the plugin:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo certbot --apache -d example.com -d www.example.com\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">With the apt route, the plugin package is <code>python3-certbot-apache<\/code> instead of the Nginx one. Everything else in this guide, from DNS checks to the dry run, applies unchanged.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Free SSL When Certbot Can&#8217;t Edit Your Web Server<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Sometimes you don&#8217;t want Certbot touching your config, or there&#8217;s no Nginx or Apache at all, say for a Node app or a mail server. Use <code>certonly<\/code>, which fetches the certificate and leaves installation to you.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The webroot method drops the challenge file into a folder your existing web server already serves:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo certbot certonly --webroot -w \/var\/www\/example.com\/html -d example.com -d www.example.com\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The standalone method spins up its own temporary web server on port 80, so nothing else can be using that port while it runs:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo certbot certonly --standalone -d example.com\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Either way, you then point your application at the files in <code>\/etc\/letsencrypt\/live\/example.com\/<\/code> yourself.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Wildcard SSL Certificates and the DNS Challenge<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A wildcard certificate covers every subdomain, like <code>*.example.com<\/code>. Let&#8217;s Encrypt only issues wildcards through the DNS-01 challenge, where you prove control by creating a TXT record instead of serving a file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can do it by hand with <code>--manual --preferred-challenges dns<\/code>, but manual certificates can&#8217;t renew on their own, which defeats the point. For anything long-term, use a Certbot DNS plugin for your DNS provider so the TXT record is created and removed automatically. My honest take: most single sites don&#8217;t need a wildcard at all. Listing <code>example.com<\/code> and <code>www.example.com<\/code> covers 90% of cases, and you can add more names with extra <code>-d<\/code> flags.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/nodeguard.io\/blog\/wp-content\/uploads\/2026\/11\/free-ssl-certificate-renewal-timeline-1024x576.webp\" alt=\"Let's Encrypt certificate lifetimes shrinking from 90 days to 64 days in 2027 and 45 days in 2028, with Certbot auto-renewal\" class=\"wp-image-227\" srcset=\"https:\/\/nodeguard.io\/blog\/wp-content\/uploads\/2026\/11\/free-ssl-certificate-renewal-timeline-1024x576.webp 1024w, https:\/\/nodeguard.io\/blog\/wp-content\/uploads\/2026\/11\/free-ssl-certificate-renewal-timeline-300x169.webp 300w, https:\/\/nodeguard.io\/blog\/wp-content\/uploads\/2026\/11\/free-ssl-certificate-renewal-timeline-768x432.webp 768w, https:\/\/nodeguard.io\/blog\/wp-content\/uploads\/2026\/11\/free-ssl-certificate-renewal-timeline-900x506.webp 900w, https:\/\/nodeguard.io\/blog\/wp-content\/uploads\/2026\/11\/free-ssl-certificate-renewal-timeline.webp 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Let&#8217;s Encrypt certificate lifetimes are getting shorter, so automatic renewal is no longer optional<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">SSL Certificate Renewal: Let&#8217;s Encrypt Is Moving to 45-Day Certificates<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">For years, every Let&#8217;s Encrypt certificate lasted 90 days. That&#8217;s changing on a published schedule. The opt-in <code>tlsserver<\/code> profile began issuing 45-day certificates on 13 May 2026. On 10 February 2027 the default profile drops to 64 days, and on 16 February 2028 it drops to 45 days. The rest of the industry is heading the same way, with the CA\/Browser Forum capping all public certificates at 47 days by March 2029.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The reasoning is sound. A shorter lifetime means a stolen or mis-issued certificate is useful to an attacker for a shorter time. The practical effect on you is that renewal happens more often, so it has to be automatic.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you followed this guide, you&#8217;re already covered. Certbot&#8217;s timer doesn&#8217;t renew on a fixed calendar. Since version 4.0 it renews when about a third of the certificate&#8217;s lifetime remains, and since 4.1 it also supports ACME Renewal Information (ARI), which lets Let&#8217;s Encrypt tell it the best moment to renew. Whether a certificate lasts 90 days or 45, Certbot adapts.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Where people will get burned is homemade automation. A cron job written years ago to renew &#8220;every 60 days&#8221; works fine with 90-day certificates and fails badly with 45-day ones. If you inherited a server, run <code>sudo crontab -l<\/code> and check what&#8217;s in there.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And since the expiry emails are gone, add some monitoring of your own. Any uptime checker that alerts on certificate expiry will do, and Let&#8217;s Encrypt itself points people to free options such as Red Sift Certificates Lite.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Fixing the Most Common Certbot Errors<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Most Certbot failures come down to the same handful of causes. Here&#8217;s what each error usually means.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">&#8220;Challenge failed&#8221; or &#8220;unauthorized&#8221;<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s Encrypt couldn&#8217;t fetch the challenge file. Nine times out of ten it&#8217;s DNS pointing somewhere else, a stale AAAA record, or port 80 blocked by a firewall. Go back to Steps 1 and 2. The full error usually includes the IP address Let&#8217;s Encrypt tried, which tells you straight away whether DNS is the problem.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">&#8220;Too many certificates already issued&#8221;<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You&#8217;ve hit a rate limit. Let&#8217;s Encrypt allows 50 certificates per registered domain per week, and only 5 duplicate certificates for exactly the same set of names. People usually hit the second one by deleting and re-requesting the same certificate while debugging. While you experiment, add <code>--test-cert<\/code> to use the staging environment, which has much looser limits, and switch back once everything works.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">&#8220;Could not automatically find a matching server block&#8221;<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Your <code>server_name<\/code> doesn&#8217;t match the names you passed with <code>-d<\/code>. Fix the server block, reload Nginx and run Certbot again.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Nginx won&#8217;t reload after Certbot runs<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Run <code>sudo nginx -t<\/code>. It names the exact file and line that&#8217;s wrong. This mostly happens on heavily customised configs. Certbot keeps its changes small, so the culprit is often an <code>include<\/code> that conflicts with the new <code>listen 443 ssl<\/code> lines.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">The padlock is missing or shows a warning<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">That&#8217;s usually mixed content: the page loads over HTTPS but pulls images, scripts or fonts over <code>http:\/\/<\/code>. Open the browser console and you&#8217;ll see each offending URL listed. On WordPress, also make sure the WordPress Address and Site Address settings both start with <code>https:\/\/<\/code>. Our guide on <a href=\"https:\/\/nodeguard.io\/blog\/how-to-install-wordpress-on-an-ubuntu-vps-with-nginx\">how to install WordPress on an Ubuntu VPS with Nginx<\/a> shows where those live.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Free SSL vs Paid SSL: Is Free SSL Good Enough?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">For almost every website, yes. A free SSL certificate from Let&#8217;s Encrypt uses the same encryption as a paid one. Browsers show the same padlock, and visitors can&#8217;t tell the difference.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Paid certificates still make sense in a few cases. You might need organisation validation (OV), where the certificate names your company, or a vendor&#8217;s compliance checklist might require a particular authority. Some paid certificates also come with a warranty and phone support. Extended validation (EV) certificates used to show a green company name in the address bar, but browsers dropped that years ago, which removed most of the reason to pay for them.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There&#8217;s also one argument for paid certificates that no longer holds: renewing less often. Industry rules cut maximum lifetimes for every public certificate to 200 days in March 2026, and they keep falling. Paid or free, you need automation now. Let&#8217;s Encrypt and Certbot just give it to you at no cost.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Frequently Asked Questions<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Is a Let&#8217;s Encrypt SSL certificate really free?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Yes. Let&#8217;s Encrypt is a nonprofit funded by sponsors and donations. There&#8217;s no trial period, no upsell and no limit on how long you can keep using it.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How long does a free SSL certificate last?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Currently 90 days on the default profile. That falls to 64 days in February 2027 and 45 days in February 2028. With Certbot&#8217;s timer in place, renewal happens automatically and you won&#8217;t notice the change.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Do I need to renew my SSL certificate manually?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">No. Certbot checks twice a day and renews when it&#8217;s due. Run <code>sudo certbot renew --dry-run<\/code> once after setup to confirm renewal works, and keep port 80 open.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Can one certificate cover several domains?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Yes. Add each name with its own <code>-d<\/code> flag. A single Let&#8217;s Encrypt certificate can hold up to 100 names, though separate certificates per site are easier to manage if the sites are unrelated.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Does Certbot work on Debian, AlmaLinux or Rocky Linux?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Yes. On Debian, the steps in this guide work as they are. On AlmaLinux and Rocky Linux, install Certbot with snap, or with <code>dnf<\/code> from the EPEL repository, then use the same <code>certbot --nginx<\/code> command.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Does a free SSL certificate help SEO?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">HTTPS is a light ranking signal, so it helps a little. The bigger win is trust. Visitors who see &#8220;Not secure&#8221; tend to leave, and that hurts you more than any ranking factor.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Final Thoughts<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">That&#8217;s really all there is to it. Point your DNS, open two ports, install Certbot, run one command and test the renewal. Now you know how to install a free SSL certificate in about ten minutes, and you&#8217;ll never pay for a basic certificate again.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you remember only one thing from this guide, make it the dry run. Lifetimes are getting shorter, the reminder emails are gone, and a renewal that silently fails is the one SSL problem visitors will actually see.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Need a server to practise on? A <a href=\"https:\/\/nodeguard.io\/cloud-vps\">NodeGuard Cloud VPS<\/a> gives you full root access on Ubuntu, so you can follow every step here and have HTTPS running before your coffee gets cold.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Further reading:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/letsencrypt.org\/docs\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Let&#8217;s Encrypt documentation<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/certbot.eff.org\/\" target=\"_blank\" rel=\"noopener\">Certbot instructions from the EFF<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/letsencrypt.org\/docs\/rate-limits\/\" target=\"_blank\" rel=\"noopener\">Let&#8217;s Encrypt rate limits<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/letsencrypt.org\/2025\/12\/03\/from-90-to-45\/\" target=\"_blank\" rel=\"noopener\">Decreasing certificate lifetimes to 45 days<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/ssl-config.mozilla.org\/\" target=\"_blank\" rel=\"noopener\">Mozilla SSL Configuration Generator<\/a><\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The first SSL certificate I ever bought cost me $49, took two days of back-and-forth emails to validate, and I still managed\u2026<\/p>\n","protected":false},"author":2,"featured_media":225,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24,89],"tags":[124,125,123,94,33,90,75,122,7,38],"class_list":["post-224","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-security","category-web-servers","tag-certbot","tag-free-ssl","tag-https","tag-lets-encrypt","tag-linux-vps","tag-nginx","tag-server-security","tag-ssl-certificate","tag-ubuntu","tag-ubuntu-26-04"],"_links":{"self":[{"href":"https:\/\/nodeguard.io\/blog\/wp-json\/wp\/v2\/posts\/224","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nodeguard.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nodeguard.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nodeguard.io\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/nodeguard.io\/blog\/wp-json\/wp\/v2\/comments?post=224"}],"version-history":[{"count":2,"href":"https:\/\/nodeguard.io\/blog\/wp-json\/wp\/v2\/posts\/224\/revisions"}],"predecessor-version":[{"id":231,"href":"https:\/\/nodeguard.io\/blog\/wp-json\/wp\/v2\/posts\/224\/revisions\/231"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nodeguard.io\/blog\/wp-json\/wp\/v2\/media\/225"}],"wp:attachment":[{"href":"https:\/\/nodeguard.io\/blog\/wp-json\/wp\/v2\/media?parent=224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nodeguard.io\/blog\/wp-json\/wp\/v2\/categories?post=224"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nodeguard.io\/blog\/wp-json\/wp\/v2\/tags?post=224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}