My operating system is (include version): Centos 6.8
My web server is (include version): Apache 2.4.18
My hosting provider, if applicable, is: InMotion
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): WHM 62
I have installed Certbot for Apache with SSH. I want to install an SSL certificate on my domain. I read the documentation for Apache at https://certbot.eff.org/docs/using.html#apache. I don’t understand what to do after I have installed Certbot. Thanks.
Not really… Just pick the most logical place you can think of. Where you can find it again after a while! (Seriously, there were people who “lost” their certbot-auto ) /tmp/ would be a terrible choice for example, many users just run it from their home directory (or /root/ as most of the time you’d be running certbot as root). One might choose /opt/ as a location. I’m actually not sure what directories the certbot-auto script will generate, so perhaps /opt/certbot/ might be better.
OK so I installed certbot in /root. Then I ran the command ./path/to/certbot-auto --apache. I got this error
WARNING:certbot.plugins.util:Failed to find apachectl in PATH: /usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/cpanel/composer/bin:/usr/local/easy/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin
I checked my /etc/letsencrypt/ directory and it is empty. Please advise, thanks.