---
title: "Discussion on \"Generating and Linking SSL Certificates from Let's Encrypt using Certbot and Nginx\" | Hashnode"
description: "Discussion on \"Generating and Linking SSL Certificates from Let's Encrypt using Certbot and Nginx\". This guide will walk you through the process of generating SSL certificates from Let's Encrypt using Certbot and automatically linking them to an Nginx configuration file. We will also cover securing subdomains and setting up auto-renewal for the SSL..."
url: "https://hashnode.com/posts/generating-and-linking-ssl-certificates-from-lets-encrypt-using-certbot-and-nginx/65cf675515518d00888f2482"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Generating and Linking SSL Certificates from Let's Encrypt using Certbot and Nginx](https://kevinkoech357.hashnode.dev/generating-and-linking-ssl-certificates-from-lets-encrypt-using-certbot-and-nginx?utm_source=hashnode&utm_medium=feed)

This guide will walk you through the process of generating SSL certificates from Let's Encrypt using Certbot and automatically linking them to an Nginx configuration file. We will also cover securing subdomains and setting up auto-renewal for the SSL...

Feb 16, 2024 · 4 min read · kevinkoech357.hashnode.dev  
Read the article

-   [#ssl-certificate](https://hashnode.com/tag/ssl-certificate)
-   [#https](https://hashnode.com/tag/https)
-   [#nginx](https://hashnode.com/tag/nginx)
-   [#certbot](https://hashnode.com/tag/certbot)
-   [#letsencrypt](https://hashnode.com/tag/letsencrypt)

## Written by

[Kevin Koech](https://hashnode.com/@kevinkoech357)

@kevinkoech357 · Nairobi, Kenya.

  
[View profile](https://hashnode.com/@kevinkoech357)

One line of code makes the world evolve.

Hi, my name is Kevin Koech. As a software engineer with 1+ year of experience, I excel in building innovative and robust systems majorly using languages like Python and JavaScript. My hands-on approach, honed through remote internships and personal projects, has instilled in me a deep understanding of the development lifecycle and a passion for continuous learning. In collaborative environments, I thrive. My expertise in communication, teamwork, and problem-solving has been instrumental in driving successful project outcomes. I actively engage with the programming community, gleaning insights from experienced professionals and staying current with industry trends, which I then leverage to bring a fresh perspective to every project. I'm eager to contribute my comprehensive skillset to impactful projects within a team of like-minded individuals. If you're looking for a dedicated engineer with a passion for collaboration and innovation, I'd be happy to discuss potential opportunities and share more about my specific experiences.

## Responses 1

Markdown supported · ⌘↵ to post

[CDN Edge Ops](https://hashnode.com/@cdnedgeops)

[Oct 30](https://hashnode.com/posts/generating-and-linking-ssl-certificates-from-lets-encrypt-using-certbot-and-nginx/65cf675515518d00888f2482/comment/6ae523d93053abf345b04882)

When Certbot renews over HTTP-01, Nginx must serve /.well-known/acme-challenge/ from disk and not proxy that path to the app. A dedicated location with root or alias, and no proxy\_pass, keeps renewals working even if the upstream is down or returns its own 404. After changing the config, run a dry-run renewal and confirm the challenge file is what Nginx returns.
