Unable to deploy ssl certificate, not seeing what I am missing.
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: thepowerhousemethod.org
I ran this command: selected thepowerhousemethod.org and www.thepowerhousemethod.org after sudo certbot
It produced this output:
31: thepowerhousemethod.org
32: www.thepowerhousemethod.org
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel): 31 32
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
You have an existing certificate that contains a portion of the domains you
requested (ref: /etc/letsencrypt/renewal/thepowerhousemethod.org.conf)
It contains these names: thepowerhousemethod.org
You requested these names for the new certificate: www.thepowerhousemethod.org,
thepowerhousemethod.org.
Do you want to expand and replace this existing certificate with the new
certificate?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(E)xpand/(C)ancel: e
Renewing an existing certificate for www.thepowerhousemethod.org and thepowerhousemethod.org
Performing the following challenges:
http-01 challenge for www.thepowerhousemethod.org
Waiting for verification...
Cleaning up challenges
Created an SSL vhost at /etc/httpd/conf.d/thepowerhousemethod.org-le-ssl.conf
Deploying Certificate to VirtualHost /etc/httpd/conf.d/thepowerhousemethod.org-le-ssl.conf
An unexpected error occurred:
ValueError: Unable to set value to path!
Please see the logfiles in /var/log/letsencrypt for more details.
IMPORTANT NOTES:
- Unable to install the certificate
- Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/thepowerhousemethod.org/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/thepowerhousemethod.org/privkey.pem
Your certificate will expire on 2023-03-10. 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"
- Some rewrite rules copied from
/etc/httpd/conf.d/thepowerhousemethod.org.conf were disabled in the
vhost for your HTTPS site located at
/etc/httpd/conf.d/thepowerhousemethod.org-le-ssl.conf because they
have the potential to create redirection loops.
My web server is (include version): apache2
The operating system my web server runs on is (include version): rhel
My hosting provider, if applicable, is: godaddy
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
[Neptune@0rcan0mic conf.d]$ cat thepowerhousemethod.org-le-ssl.conf
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName thepowerhousemethod.org
ServerAdmin webmaster@localhost
ServerAlias www.thepowerhousemethod.org
DocumentRoot /var/www/thepowerhousemethod.org/public_html/
ErrorLog /var/log/httpd/thepowerhousemethod.org-error.log
CustomLog /var/log/httpd/thepowerhousemethod.org-access.log combined
DirectoryIndex index.html
<Directory "/var/www/thepowerhousemethod.org/public_html">
DirectoryIndex index.html
# AllowOverride All
#Options Indexes FollowSymLinks Includes ExecCGI
#AllowOverride None
#Allow from all
</Directory>
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/thepowerhousemethod.org/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/thepowerhousemethod.org/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/thepowerhousemethod.org/chain.pem
</VirtualHost>
I noted I was missing the ServerAlias in the .ssl.conf file so I added it, reran sudo cerbot installed ssl successfully but thepowerhousemethod.org is still showing insecure
elect the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel): 31 32
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/thepowerhousemethod.org.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): 1
Keeping the existing certificate
Deploying Certificate to VirtualHost /etc/httpd/conf.d/thepowerhousemethod.org-le-ssl.conf
Deploying Certificate to VirtualHost /etc/httpd/conf.d/thepowerhousemethod.org-le-ssl.conf
Enhancement redirect was already set.
Enhancement redirect was already set.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Congratulations! You have successfully enabled
https://www.thepowerhousemethod.org and https://thepowerhousemethod.org
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
IMPORTANT NOTES:
- If you like Certbot, please consider supporting our work by:
Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate
Donating to EFF: https://eff.org/donate-le