Issue a certificate with certbot
Install
sudo apt install certbotChecking SSL configuration
sudo certbot certificatesLaunching a temporary web server to verify domain ownership
sudo certbot certonly --standalone -d example.com -d www.example.comUsing Manual mode
sudo certbot certonly --manual -d example.com -d www.example.comVerify domain ownership with DNS TXT record
sudo certbot certonly --agree-tos --manual --preferred-challenges dns -d "*.$DOMAIN" --register-unsafely-without-emailLast updated