https://crt.sh/?q=theceliacsite.com
My domain is: theceliacsite.com
I ran this command: certbot -d theceliacsite.com -d www.theceliacsite.com
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
Cert not yet due for renewal
You have an existing certificate that has exactly the same domains or certificate name you requested and isn’t close to expiry.
(ref: /etc/letsencrypt/renewal/theceliacsite.com-0002.conf)
What would you like to do?
1: Attempt to reinstall this existing certificate
2: Renew & replace the cert (limit ~5 per 7 days)
Select the appropriate number [1-2] then [enter] (press ‘c’ to cancel): 1
Keeping the existing certificate
We were unable to find a vhost with a ServerName or Address of theceliacsite.com.
Which virtual host would you like to choose?
And then I have a list of other hosts that are here, none of them is theceliacsite.com
…
Select the appropriate number [1-33] then [enter] (press ‘c’ to cancel): c
No vhost exists with servername or alias of theceliacsite.com. No vhost was selected. Please specify ServerName or ServerAlias in the Apache config.
No vhost selected
IMPORTANT NOTES:
- Unable to install the certificate
- Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/theceliacsite.com-0002/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/theceliacsite.com-0002/privkey.pem
Your cert will expire on 2020-06-28. To obtain a new or tweaked
version of this certificate in the future, simply run certbot again
with the “certonly” option. To non-interactively renew all of
your certificates, run “certbot renew”
My web server is (include version):
Server version: Apache/2.4.6 (CentOS)
The operating system my web server runs on is (include version):
Linux 3.10.0-1062.18.1.el7.x86_64 #1 SMP Tue Mar 17 23:49:17 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
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
my /etc/httpd/sites-available/theceliacsite.com.conf file looks like this:
<VirtualHost *:80>
ServerName www.theceliacsite.com
ServerAlias theceliacsite.com
DocumentRoot /var/www/theceliacsite.com/html
ErrorLog /var/www/theceliacsite.com/log/theceliacsite.com-error.log
CustomLog /var/www/theceliacsite.com/log/theceliacsite.com-access.log combined
RewriteEngine on
#RewriteCond %{SERVER_NAME} =theceliacsite.com [OR]
#RewriteCond %{SERVER_NAME} =www.theceliacsite.com
#RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
<VirtualHost *:443>
ServerName www.theceliacsite.com
ServerAlias theceliacsite.com
DocumentRoot /var/www/theceliacsite.com/html
ErrorLog /var/www/theceliacsite.com/log/theceliacsite.com-ssl-error.log
CustomLog /var/www/theceliacsite.com/log/theceliacsite.com-ssl-access.log combined
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/theceliacsite.com-0002/cert1.pem
SSLCertificateKeyFile /etc/letsencrypt/live/theceliacsite.com-0002/privkey1.pem
SSLCertificateChainFile /etc/letsencrypt/live/theceliacsite.com-0002/chain1.pem
and have done a link in /etc/httpd/sites-enabled/theceliacsite.com -> /etc/httpd/sites-available/theceliacsite.com.conf
Have reloaded, restarted the httpd service many times and also tries to tweak the .conf file but no matter what I do I get that “unable to find a vhost” error even if I do find the generated .pem files. Even so, the website still doesn’t show up.
Please also note this is behind the cloudflare CDN proxy.