Creating SSL Certificates

To create an SSL certificate with Certbot and set it up for your Nginx server, follow these steps. Certbot is a tool that automates the process of obtaining and installing SSL/TLS certificates from the Let's Encrypt Certificate Authority.

1. Install Certbot

On Ubuntu/Debian:

sudo apt update
sudo apt install certbot python3-certbot-nginx

2. Obtain an SSL Certificate

To obtain an SSL certificate and automatically configure Nginx:

certbot certonly --nginx -d dashbaord.example.com

This command will interactively ask for your email address and agree to the terms of service. It will also automatically update your Nginx configuration to use the new SSL certificate.

Last updated