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: humortimes.com
I ran this command: certbot certonly -d cockpit.humortimes.com
It produced this output: Could not find ssl_module; not disabling session tickets.
AND: Certbot failed to authenticate some domains (authenticator: nginx).
My web server is (include version): nginx 1.20.1
The operating system my web server runs on is (include version): AlmaLinux 9.3
My hosting provider, if applicable, is: dedicated server
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): 2.7.4
I am trying to install a cert for a cockpit subdomain, as recommended here.
I have a cert already installed for the main domain, and am using openssl, so I'm not sure an ssl_module is relevant. I did install mod_ssl, however, and the next time I ran the certbot command, got all kinds of errors relating to ssl_module:
Error while running apachectl configtest.
AH00526: Syntax error on line 85 of /etc/httpd/conf.d/ssl.conf:
SSLCertificateFile: file '/etc/pki/tls/certs/localhost.crt' does not exist or is empty
Error while running systemctl restart httpd.
Job for httpd.service failed because the control process exited with error code.
See "systemctl status httpd.service" and "journalctl -xeu httpd.service" for details.
... which sounds like it relates to apache, but we're running nginx. It also seems to be looking for certs, but they are installed elsewhere.
Can I install a cert for the cockpit subdomain this way, or is it not feasible because of the fact that we already have certs for the domain?