A practical, stepâbyâstep guide that lets you secure any website for free without a single line of code you canât understand
Before We Start: What You'll Walk Away With
By the end of this guide youâll know exactly why Letâs Encrypt is trusted by browsers worldwideâthink of it as the âgold starâ you get after a restaurant inspection.
Youâll be able to click through an installation wizard, copy a few commands, and confirm that HTTPS is live on Apache, Nginx, or a staticâsite hostâjust like ordering a pizza and watching it arrive at your door.
Finally, youâll walk away with a oneâpage cheatâsheet you can reuse for any new domain, so you never have to start from scratch again.
Understand the basic idea behind Letâs Encrypt and why itâs trusted.
Install, verify, and set up autoârenew for a free SSL certificate on Apache, Nginx, or a staticâsite host.
Grab a cheatâsheet that lets you repeat the process for any future domain.
Why it matters: Browsers treat Letâs Encrypt certificates as fully valid, so visitors wonât see warning signs.
What you need: Access to your serverâs command line or a control panel that supports custom scripts.
What youâll avoid: Expired certificates and the headache of manual renewals.
Keep this list handy; itâs the roadmap youâll follow step by step.
What Letâs Encrypt Actually Is (No Jargon)
Letâs Encrypt is a nonprofit Certificate Authority that hands out domainâvalidated SSL certificates for free. It talks to your server through an automated protocol called ACME, so you never have to call a support desk or fill out paperwork.
Imagine a digital passport office that instantly stamps your websiteâs âidentityâ the moment you show proof you own the domain. Just as a government ID convinces a barista youâre old enough to order coffee, the letâs encrypt ssl certificate convinces browsers that your site is trustworthy, letting visitors see the padlock icon without a hitch.
The 3 Mistakes Everyone Makes With Letâs Encrypt
Here are the three blunders that turn a smooth let's encrypt ssl setup into a headache.
Forgetting to open port 80/443. The validation server canât reach your site if those doors are closed, just like a delivery driver blocked by a locked gate. Check your firewall or cloud panel and allow inbound traffic on both ports before you start the challenge.
Using a singleâuse certificate and skipping autoârenew. Itâs like ordering a fresh loaf of bread and then never buying anotherâyour site will suddenly serve an expired cert. Enable a cron job or systemd timer that runs
certbot renewtwice a day so renewal happens automatically.Running the client as root and overwriting existing configs. Imagine giving a rookie chef unrestricted access to your kitchen; they might replace a trusted recipe with something else. Use a dedicated user or the
--deploy-hookoption instead, and back up any config files before the client writes to them.
Fix these, and your HTTPS will stay up without a hitch.
How to Get Free SSL With Letâs Encrypt: StepâbyâStep
Grab a cup and follow these clicksâandâtype steps; youâll have HTTPS up faster than ordering a coffee.
- Pick a client. Certbot is the default choice, like using the standard app store instead of hunting obscure tools.
Install the client on your server. Use the package manager that matches your OS:
apt install certbotfor Debian/Ubuntuyum install certbotfor CentOS/RHELbrew install certbotfor macOSOr pull the Docker image:
docker run -it --rm certbot/certbotMake sure your domainâs DNS points to the server and that ports 80 and 443 are open. Think of DNS as the address book and the ports as the frontâdoor keys; both must work for visitors to get in.
Run the appropriate Certbot command for your web server. For Nginx, it looks like this:
certbot --nginx -d example.com -d www.example.com
Replace example.com with your own domain. Certbot will talk to Letâs Encrypt SSL, prove you own the site, and install the certificate automatically.
- Verify the result. Open
https://yourdomain.comin a browser or use an online SSL checker to confirm the lock icon appears.
Enable autoârenewal so the cert doesnât expire. Test the renewal process first:
certbot renew --dry-run
If the dry run succeeds, the builtâin cron job will keep the certificate fresh.
Thatâs itâyour site now enjoys free, trusted encryption.
A Real Example: Securing a SmallâBusiness Blog on Nginx
Maya, who runs a charming bakery, just wants her WordPress blog to show the padlock without hunting through menus.
First she updates the package list and pulls in Certbot with Nginx support:
sudo apt update && sudo apt install certbot python3-certbot-nginx
Next she asks Certbot to fetch a certificate for both the bare domain and the www subdomain:
sudo certbot --nginx -d bakerydelights.com -d www.bakerydelights.com
Prompt 1: âEnter email?â â Maya types her business email.
Prompt 2: âAgree to Terms of Service?â â she hits
Y.Prompt 3: âRedirect HTTP to HTTPS?â â she chooses the automatic redirect, like telling a waiter to bring the soup before the salad.
Certbot now edits the server blocks in /etc/nginx/sites-available/bakerydelights.com, injects the ssl_certificate directives, reloads Nginx, and prints a success message:
Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/bakerydelights.com/fullchain.pem
Your certificate will expire on 2026-08-14.
To be sure the autoârenew will work, Maya runs a dryârun:
sudo certbot renew --dry-run
The command simulates a renewal, confirming the timer and Nginx reload are set.
If anything goes wrong, Certbot shows a clear error, letting Maya fix it before the real expiration.
Tip: Schedule a weekly check with
systemctl status certbot.timerto verify the renewal timer is active.Cheat sheet:
sudo certbot --nginx -d example.com -d www.example.comhandles the whole process for most Nginx sites.
With those few clicks and commands, Mayaâs bakery blog now serves pages over HTTPS, and the padlock stays put.
The Tools That Make This Easier
Grab the right helper and the whole process feels like ordering a pizzaâpick a menu, confirm the toppings, and the delivery shows up on your doorstep.
Certbot â The official letâs encrypt ssl client. It talks directly to the CA, configures Apache or Nginx, and renews automatically. Think of it as the restaurantâs âsetâitâandâforgetâitâ menu.
acme.sh â A tiny Bash script that runs on even the smallest VPS. Itâs like a pocketâknife: you can slice, dice, and tighten certs without any heavy dependencies.
WinâAcme â Windowsâonly client with a GUI and CLI for IIS. Imagine a GPS that plots the fastest route on a Windows road map, guiding you stepâbyâstep.
SSL Labsâ SSL Test â Free online scanner that grades your HTTPS setup. Itâs the âGoogle Mapsâ of SSL, showing you exactly where the bumps are.
Docker Letâs Encrypt Nginx Proxy Companion â Containerâaware tool that watches your Docker services and fetches fresh certs for you. Picture it as a suitcase that automatically packs the right clothes for each trip.
Pick one that matches your environment, run the installer, and let the tool handle the heavy lifting.
With any of these, the next time you check your site youâll see the green padlock without a second thought.
Quick Reference: Letâs Encrypt Cheat Sheet
Grab this cheat sheet and follow it like a recipeâyouâll have a valid Letâs Encrypt SSL in minutes.
đš Install client â Think of it as ordering a pizza: you need the right app before you can place the order. Run
apt install certbot
(or pick acme.sh if you prefer a lighter tool).
- đš Open ports 80/443 â Like making sure the front door is unlocked for delivery. Adjust your firewall so traffic can reach the web server.
đš Run certbot â This is the checkout step. Execute
certbot --nginx -d yourdomain.com -d www.yourdomain.com
and let the wizard handle the rest.
- đš Verify installation â Just as youâd doubleâcheck a map route, visit SSL Labs and enter your domain to confirm everything is green.
đš Autoârenew â Think of setting a calendar reminder so you never forget to restock. Test the renewal with
certbot renew --dry-run
. If your system doesnât already schedule a cron job, add one that runs daily.
- đš Common pitfalls â Closed ports are like a blocked driveway; DNS missing is like a wrong address; no autoârenew is like forgetting to pay a subscription. Check each before you start.
Example â Maria runs a small boutique site on a VPS. After installing certbot, she opens ports, runs the command, and sets a cron entry
0 3 * * * /usr/bin/certbot renew --quiet
. Her site stays HTTPS forever without manual touch.
What to Do Next
Grab the cheatâsheet you just built and put it somewhere everyone can see.
Wiki entry â copy the threeâstep âInstall â Verify â Renewâ list into your team Confluence, Notion, or internal README.
Oneâclick link â add a hyperlink to the live
https://yourdomain.com/.well-known/acme-challenge/page so newcomers can test HTTPS instantly.Tag it â label the page âSSLâ so a quick search brings it up.
Next, set up a simple watchdog so you know before a certificate expires.
Sign up at UptimeRobot (free tier works).
Create a monitor pointing to
https://yourdomain.comand choose the âHTTPS (SSL)â check.Configure an email or Slack alert for âDownâ events â think of it like a kitchen timer that pings you before the soup boils over.
Finally, if youâre comfortable with pipelines, automate renewal.
Add a step in your CI script that runs
certbot renew --quietafter a successful build.Store the renewed certificate in your artifact repository or secret manager.
Deploy the fresh files to every server â similar to packing a suitcase once and sending the same set of clothes to multiple houses.
Doing these three actions moves you from âI have HTTPS todayâ to âHTTPS stays alive without me lifting a finger.â
đŹ Got stuck or discovered a new tip? Drop a comment below â Iâd love to hear your story!
About the Author
Abdullah Sheikh is the Founder & CEO at Exteed, where he leads a team of skilled developers specializing in Web2 and Web3 applications, Custom Smart Contracts, and Blockchain solutions.
With 6+ years of experience, Abdullah has built CRMs, Crypto Wallets, DeFi Exchanges, E-Commerce Stores, HIPAA Compliant EMR Systems, and AI-powered systems that drive business efficiency and innovation.
His expertise spans Blockchain, Crypto & Tokenomics, Artificial Intelligence, and Web Applications; building reliable and smooth web apps that fit the clientâs goals and requirements.
đ§ info@abdullah-sheikh.com ¡ đ LinkedIn ¡ đ abdullah-sheikh.com
Top comments (0)