Introduction
The AutoSSL providers provided by the cPanel software, cPanel (Sectigo) and Let's Encrypt, can be configured from the command line using the set_autossl_provider
API call.
Please note that as of cPanel version 120, Let's Encrypt is the only AutoSSL provider.
Procedure
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Run the following command to set the provider.
- cPanel (Sectigo)
whmapi1 set_autossl_provider provider=cPanel
- Let's Encrypt
whmapi1 set_autossl_provider provider=LetsEncrypt x_terms_of_service_accepted='https://letsencrypt.org/documents/LE-SA-v1.4-April-3-2024.pdf'
- cPanel (Sectigo)