I need some help with installing the SSL certificate on my server.
when I run this:
./certbot-auto certonly
I can see there is an error:
certbot-auto certonly
/root/.local/share/letsencrypt/lib/python2.6/site-packages/cryptography/init.py:26: DeprecationWarning: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of cryptography will drop support for Python 2.6
DeprecationWarning
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Failed to find executable apachectl in PATH: /usr/local/jdk/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin
How would you like to authenticate with the ACME CA?
1: Place files in webroot directory (webroot)
2: Spin up a temporary webserver (standalone)
I try to choose the 1 but I cant find the webroot directory for my site when it ask for me to webroot directory.
Do you know how I can find out what is the directory for my website workwithchris.com?
Since your domain appears to be parked with GoDaddy, you also might not have pointed the domain at your web server yet! This isn’t the reason for the error message that you saw, but you will most likely need to point your domain at the web server in order to use Certbot.
I have looked on Godaddy, actually you was right. I have parked my domain with Godaddy and I did not pointed the domain on my web server. I have checked the domain on my server via “Edit DNS Zone” to make sure the domain is point at my server which it did not. I have removed it and reset it to make it go fresh like new again, so now I can see that I have point the domain on my web server.
Do you have a feature in cPanel to get a certificate inside cPanel? Some versions offer that, which would be a convenient alternative to running Certbot.