AutoSSL

From Wiki
Jump to navigation Jump to search

Run AutoSSL for a user

/usr/local/cpanel/bin/autossl_check --user=USER

Run AutoSSL for all resold cPanels

for i in $(grep RESELLER /etc/trueuserowners | cut -d ':' -f1); do /usr/local/cpanel/bin/autossl_check --user=$i; done;

Do not forget to replace RESELLER with the actual username of reseller user

Empty SSL queue

mv /var/cpanel/autossl_queue_cpanel.sqlite /var/cpanel/autossl_queue_cpanel.sqlite-old

Force the SSL queue

/usr/local/cpanel/bin/autossl_check_cpstore_queue --force

Install or update Let's Encrypt

/scripts/install_lets_encrypt_autossl_provider
yum update cpanel-letsencrypt

Logs of AutoSSL

/var/cpanel/logs/autossl/