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: myithala.education
I ran this command: sudo certbot
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Which names would you like to activate HTTPS for?
1: myithala.education
2: www.myithala.education
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel): 1
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/myithala.education-0001.conf)
What would you like to do?
1: Attempt to reinstall this existing certificate
2: Renew & replace the certificate (may be subject to CA rate limits)
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2
Renewing an existing certificate for myithala.education
Deploying Certificate to VirtualHost /etc/httpd/conf/httpd-le-ssl.conf
Enhancement redirect was already set.
Your existing certificate has been successfully renewed, and the new certificate
has been installed.
The new certificate covers the following domains: https://myithala.education
IMPORTANT NOTES: ...
My web server is (include version): AWS EC2 Linux instance
The operating system my web server runs on is (include version):
Operating System: Amazon Linux 2
CPE OS Name: cpe:2.3:o:amazon:amazon_linux:2
Kernel: Linux 4.14.256-197.484.amzn2.x86_64
Architecture: x86-64
My hosting provider, if applicable, is: Amazon
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.11.0
This worked when I set up the site. After updating the site files (i.e. content, but not the configuration files), the browser says the site is not secure. When I check the certificate, it shows it is issued by and to localhost.localdomain. This is in the file /etc/httpd/conf/httpd.conf:
<VirtualHost *:80>
DocumentRoot "/var/www/html"
ServerName "myithala.education"
ServerAlias "www.myithala.education"