Hi, I got a lots of questions here...
I was trying to remove all the snapd and certbot and letsencrypt
(anythings I can think of) and install certbot all over again.But it just won't work. Because it seems a lots of problems so I want to redo everythings.
Could anyone help me out
Thanks a lot!!
Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is: allmyloveyogurt.com
I ran this command: sudo certbot --apache -d allmyloveyogurt.com
It produced this output: Saving debug log to /var/log/letsencrypt/letsencrypt.log
Error while running apache2ctl configtest.
Action 'configtest' failed.
The Apache error log may have more information.
apache2: Syntax error on line 225 of /etc/apache2/apache2.conf: Syntax error on line 14 of /etc/apache2/sites-enabled/allmyloveyogurt.com-le-ssl.conf: Could not open configuration file /etc/letsencrypt/options-ssl-apache.conf: No such file or directory
The apache plugin is not working; there may be problems with your existing configuration.
The error was: MisconfigurationError("Error while running apache2ctl configtest.\nAction 'configtest' failed.\nThe Apache error log may have more information.\n\napache2: Syntax error on line 225 of /etc/apache2/apache2.conf: Syntax error on line 14 of /etc/apache2/sites-enabled/allmyloveyogurt.com-le-ssl.conf: Could not open configuration file /etc/letsencrypt/options-ssl-apache.conf: No such file or directory\n")
My web server is (include version): Apache/2.4.38
The operating system my web server runs on is (include version): Debian 10
My hosting provider, if applicable, is: Linode
I can login to a root shell on my machine (yes or no, or I don't know): yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): no? I use terminal to manage my site
The version of my client is (e.g. output of
certbot --version or
certbot-auto --version if you're using Certbot): It used to be 0.31.0 But I removed it.