Noob to certbot. Trying it out for the first time on an internal webserver.
My domain is: on a 10.xxx.yyy.zzz
I ran this command: certbot -v certonly --apache
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
The apache plugin is not working; there may be problems with your existing configuration.
The error was: PluginError('There has been an error in parsing the file /etc/httpd/conf/httpd.conf on line 228: Syntax error')
My web server is (include version): Apache/2.4.6 (Red Hat Enterprise Linux)
The operating system my web server runs on is (include version): RHEL 7.9
My hosting provider, if applicable, is: N/A
I can login to a root shell on my machine (yes or no, or I don't know): Of course I can!
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): A CP? ew, no.
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): certbot 1.19.0
The line in question is:
CustomLog "|/usr/sbin/rotatelogs /var/log/httpd/%Y%m_access 86400 -300" "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"
and has been in place for years. apachectl configtest
comes back as OK, and I can easily stop-n-start (and I dont mean apachectl restart
) Apache with no problems.
I really have no intention of commenting out that line, let alone changing it up.
Some insight/suggestions, etc appreciated.