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. https://crt.sh/?q=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: dev1.example.cloud
I ran this command: sudo certbot --apache
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Could not find ssl_module; not disabling session tickets.
Plugins selected: Authenticator apache, Installer apache
Which names would you like to activate HTTPS for?
1: dev1.example.cloud
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter âcâ to cancel): 1
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for dev1.example.cloud
Error while running apachectl configtest.
AH00526: Syntax error on line 1 of /etc/apache2/other/le_http_01_challenge_pre.conf:
Invalid command âRewriteEngineâ, perhaps misspelled or defined by a module not included in the server configuration
Cleaning up challenges
Error while running apachectl configtest.
AH00526: Syntax error on line 1 of /etc/apache2/other/le_http_01_challenge_pre.conf:
Invalid command âRewriteEngineâ, perhaps misspelled or defined by a module not included in the server configuration
My web server is (include version): Apache Tomcat 9.0.17
The operating system my web server runs on is (include version): macOS 10.14.6 Mojave
My hosting provider, if applicable, is: NA
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
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if youâre using Certbot): 1.4.0
Earlier it was saying: Unable to find a virtual host listening on port 80 which is currently needed for Certbot to prove to the CA that you control your domain. Please add a virtual host for port 80.
But I added to my /etc/apache2/httpd.conf file the following:
<IfDefine !SERVER_APP_HAS_DEFAULT_PORTS>
Listen 80
<VirtualHost *:80>
DocumentRoot â/Users/kbecker/apache-tomcat-9.0.17/webapps/ROOTâ
ServerName dev1.example.cloud