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: sfbrowns.com
I ran this command: certbot --apache
It produced this output:
[root@ip-172-31-25-32 conf.d]# certbot --apache
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Which names would you like to activate HTTPS for?
We recommend selecting either all domains, or all domains in a VirtualHost/server block.
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel): 1
Requesting a certificate for www.sfbrowns.com
Successfully received certificate.
Certificate is saved at: /etc/letsencrypt/live/www.sfbrowns.com/fullchain.pem
Key is saved at: /etc/letsencrypt/live/www.sfbrowns.com/privkey.pem
This certificate expires on 2023-12-07.
These files will be updated when the certificate renews.
Certbot has set up a scheduled task to automatically renew this certificate in the background.
Deploying certificate
Successfully deployed certificate for www.sfbrowns.com to /etc/httpd/conf.d/www.sfbrowns.com-le-ssl.conf
Congratulations! You have successfully enabled HTTPS on https://www.sfbrowns.com
If you like Certbot, please consider supporting our work by:
- Donating to ISRG / Let's Encrypt: Donate - Let's Encrypt
- Donating to EFF: Support EFF's Work on Let's Encrypt | Electronic Frontier Foundation
My web server is (include version):
[root@ip-172-31-25-32 conf.d]# httpd -v
Server version: Apache/2.4.57 (Fedora Linux)
Server built: Apr 11 2023 00:00:00
The operating system my web server runs on is (include version):
[root@ip-172-31-25-32 conf.d]# cat /etc/fedora-release
Fedora release 38 (Thirty Eight)
My hosting provider, if applicable, is: AWS EC2 (us-west-1)
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):
[root@ip-172-31-25-32 conf.d]# certbot --version
certbot 2.6.0
Hi,
I am completely new to Let's Encrypt. This is the first time I have tried to enable https for this server, but I have manually installed SSL certs on previous incarnations of it (same OS and http server). I just didn't want to have to purchase a cert this time around.
I had to go through the steps a few times because I made mistakes. At first I typed in 'sfbrowns.com' instead or 'www.sfbrowns.com'. I am not sure how to get a cert that is valid for both.
Anyway, I finally got it installed, but Chrome and Edge both tell me that the cert is invalid with a ERR_CERT_AUTHORITY_INVALID error. The cert has 'ip-172-31-25-32.us-west-1.compute.internal' for the subject and issuer instead of my domain name. How can I get a proper cert for my domain name instead? And for both the domain name and the 'www'?
If it is not possible to do this, then I will just go ahead and buy a cert from the cheapest CA I can find and install it by hand. How can I completely remove/revert the changes that certbot did?
Thanks