ANS Documentation

Improve This Doc
  • Cloud
  • Domains and DNS management
    • Domain Name Management
    • SafeDNS
    • SSL Certificates
      • Purchasing and Renewing
      • Generating A CSR (Certificate Sigining Request)
      • Validating your Certificate
      • ANS SSL Types
      • Self Signed Certificates
      • Using Server Name Indication (SNI)
      • Extended Validation Certificates
      • Generating a PFX file
      • Handling Private Keys
      • Let’s Encrypt
    • Reverse DNS Records
  • Backup and High Availability
  • eCommerce Stacks
  • Security
  • Email
  • Monitoring and usage management
  • Networking
  • Operating systems
  • Webcelerator
  • MyUKFast
  • Home >
  • Domains and DNS management >
  • SSL Certificates >
  • Let’s Encrypt >
  • Let's Encrypt in cPanel/WHM

How to secure your sites with Let’s Encrypt in cPanel/WHM¶

cPanel/WHM offers a feature called AutoSSL that integrates with both LetsEncrypt and their default provider (Sectigo). This allows you to install and automatically renew certificates for your domains. It should also cover your cPanel services, such as mail, hostname and ftp.

Note

The plugin only allows for Wildcard certificates to be generated if you use WHM as your DNS provider: If using SafeDNS or an external DNS provider then you will need to do this manually using a tool like certbot.

Installation¶

If not installed already, then you will need to ssh onto the server as root and run the following command

/usr/local/cpanel/scripts/install_lets_encrypt_autossl_provider

Next, open WHM and search for Manage AutoSSL.

cpanel_autossl_search

Here, you will have a list of providers, and Let’s Encrypt will be one of them.

cpanel_autossl_letsencrypt_enable

Select this provider, and after agreeing to the terms of service this will be available for you to use.

Note

More information on this plugin is available in the WHM plugin documentation - https://docs.cpanel.net/knowledge-base/third-party/the-lets-encrypt-plugin/86/

Issuing a certificate with AutoSSL¶

Once you have selected Let's Encrypt as a provider, it’s time to generate certificates for your domains.

In the AutoSSL section of WHM, click on the Manage Users tab. Here you will have both global and per account options for enabling/disabling AutoSSL.

cpanel_autossl_manageusers

Once enabled, certificates will be automatically renewed close to the expiration date of the SSL

Troubleshooting¶

If you are having issues with generating a certificate, the first place you should check is the logs tab in AutoSSL

cpanel_autossl_logs

This should highlight any Let’s Encrypt challenge issues you may have. Beyond this, you can raise a support ticket and we can help identify the underlying issues with you.

Next Article > How to use Let’s Encrypt on Windows

  • Useful Links
  • SMB
  • Enterprise
  • Channel
  • Public Sector
  • ANS Data Centres
  • About ANS
  • Careers
  • Blog
  • Get in touch
  •  
  • Sales 0800 458 4545
  • Support 0800 230 0032
  • Get in touch

© ANS Group Limited | Terms and Conditions | Corporate Guidance | Sitemap
ANS Group Limited, registered in England and Wales, company registration number 03176761, registered office 1 Archway, Birley Fields, Manchester M15 5QJ