To install a certificate on a domain, run the following command as the root user:

 /usr/local/emps/bin/php /usr/local/webuzo/cli.php --lets_encrypt --action=install --domain=your_domain.com 
  • Variables to manage other aspects of Let’s Encrypt certificate from CLI utilityTo revoke (remove) an installed certificate, pass –action=revoke along with domain name as in the above example.To renew, pass –action=renew along with domain name as in the above example.To renew all the installed Let’s Encrypt cerificates, pass –action=renew_all. When you are using action as renew_all, you do not need to pass any domain name to the utility.

Important Note

  • The utility needs a webserver running and listening to Port 80.
  • This utility can not issue/manage certificates to domains with IP address assigned to them.
  • Domains with certificate installed through this utility can not have another certificate assigned via the panel unless the Let’s Encrypt one is revoked.
  • Cron to auto-renew certificates is already added in the panel and will check and renew any Let’s Encrypt issued certificate if needed.
  • Logs generated by this utility are stored in /var/webuzo/log/lets_encrypt.

If the SSL installation fail, Please try to install Lets Encrypt after renaming .htaccess file if exists in the domain path of the domain ‘valssssss.sss’. Also  make sure that the domain is pointing to your server and your web server currently set as default is working properly on your server.