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:tehcxweb.com
I ran this command:
sudo /usr/local/bin/certbot --apache --agree-tos --redirect --hsts --staple-ocsp --email tav@tehcxweb.xyz -d mail.tehcxweb.xyz
It produced this output:
Complete!
Creating virtual environmentâŚ
Installing Python packagesâŚ
Installation succeeded.
Saving debug log to /var/log/letsencrypt/letsencrypt.log
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
The apache plugin is not working; there may be problems with your existing configuration.
The error was: MisconfigurationError(âError while running apachectl configtest.\n\nAH00526: Syntax error on line 85 of /etc/httpd/conf.d/ssl.conf:\nSSLCertificateFile: file â/etc/pki/tls/certs/localhost.crtâ does not exist or is empty\nâ,)
[tav@mail ~]$ sudo systemctl reload httpd
Job for httpd.service failed because the control process exited with error code.
See âsystemctl status httpd.serviceâ and âjournalctl -xeâ for details.
My web server is (include version):Apache/2.4.37 (centos)
The operating system my web server runs on is (include version):
CentOS 8.1
My hosting provider, if applicable, is:reg.ru
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):certbot 1.3.0
after errors apache also fails to start
Apache in default configuration
mail.tehcxweb.xyz.conf :
<VirtualHost *:80>
\ ServerName mail.tehcxweb.xyz
\ DocumentRoot /var/www/html/
</VirtualHost>
Iâm just starting to learn CentOS help me figure it out