Am trying getting ssl certificate using letsencrypt and certbot with apache on my Ubuntu server for mydomain.com am getting the error using command sudo certbot --apache -d mydomain.com
am getting error
The Certificate Authority failed to verify the temporary Apache configuration changes made by Certbot.
i tried tried to update sudo apt update
then sudo apt install certbot
and run again sudo certbot --apache -d mydomain.com still i got the same error.