I want to create SSL certificate using azure dns refering to this tutoriel : https://medium.com/@jibinpb/lets-encrypt-certificate-with-azure-dns-b9ed32ae5aee The problem that when i run
sudo certbot certonly --dns-azure-config ~/azure_certbot.ini -d "mydomain.com"
Any suggestions please ?
This error due to certbot not recognizing the --dns-azure-config the DNS plugin for Azure in certbot may not be installed properly.
To resolve this issue, make use of below command:
Install
sudo apt install certbot
use the manual mode of certbot with DNS challenges to obtain a certificate for your domain with below command.This certbot will prompt you with instructions to add DNS TXT record like below:
In your DNS management add
TXT
record with the provided name (_acme-challenge.MYdomain.com
) andvalue
.Wait for the DNS records to propagate it takes time and press
enter
in certbot terminal to continue after you add the DNS TXT record.Once verified the record it issues the certificate successfully like below: