Hi i'm trying to add a certificate for a new domain.
When i execute:
sudo certbot --apache --apache-server-root /etc/apache2
I get this error:
Error running command ['apache2ctl', '-t', '-D', 'DUMP_RUN_CFG'] for runtime parameters!
The apache plugin is not working; there may be problems with your existing configuration.
The error was: MisconfigurationError("Error accessing loaded Apache parameters: ['apache2ctl', '-t', '-D', 'DUMP_RUN_CFG']")
Am i missing something? Shouldn't --apache-server-root be enough?
Certbot Version:
certbot 2.8.0
Root Information from Command apachectl -S
ServerRoot: "/etc/apache2"
Main DocumentRoot: "/var/www/html"
Main ErrorLog: "/var/log/apache2/error.log"