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: bbgatest.com
I ran this command: https://bbgatest.com/index.php
It produced this output: I got the warning screen and a message that the certificate is only valid for ip-10-0-0-75.ec2.internal. It sounds like it isn’t finding the letsencrypt certs.
My web server is (include version): AWS Linux 2
The operating system my web server runs on is (include version): Linux2
My hosting provider, if applicable, is: AWS
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 0.31.0
the /etc/httpd/conf.d/ssl.conf file listens to 443. EC2 instance also listens to HTTPS/443. The httpd.conf file has:
<VirtualHost *.80>
DocumentRoot “/var/www/html/Clients/BBGA”
ServerName “bbgatest.com”
ServerAlias “www.bbgatest.com”
RewriteEngine on
RewriteCond %{SERVER_NAME} =www.bbgatest.com [OR]
RewriteCond %{SERVER_NAME} =bbgatest.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
and at the end of the file
Include /etc/httpd/conf/httpd-le-ssl.conf and that file contains:
<VirtualHost *.80:443>
DocumentRoot “/var/www/html/Clients/BBGA”
ServerName “bbgatest.com”
ServerAlias “www.bbgatest.com”
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/bbgatest.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/bbgatest.com/privkey.pem
Any help you can provide in resolving is appreciated.
david