ACME setup guide

Install an ACME SSL certificate on cPanel

Set up an ACME-enabled SSL certificate on a cPanel hosting account with acme.sh, push it into cPanel automatically with the cpanel_uapi deploy hook, and confirm renewals run on their own.
  • 6 steps
  • 10–15 minutes
  • Auto-renews when you're done
cPanel logo

Platform

cPanel

ACME client
acme.sh
Time needed
10–15 minutes
Skill level
Beginner
Access
cPanel login with SSH / Terminal
Prefer hands-off? We'll set it up
Before you start

What you'll need

  • SSH or Terminal access

    Use cPanel's built-in Terminal or any SSH client. On WHM-managed servers, “Shell access” must be enabled in the hosting package.

  • ACME server URL

    The directory URL for your certificate, e.g. https://acme.sectigo.com/v2/DV.

  • EAB credentials

    Your EAB key ID and EAB HMAC key, which link the client to your paid certificate.

  • Website document root

    The folder that holds your homepage, usually /home/username/public_html/.

  1. 1

    Step 1 of 6

    Open a terminal session

    The quickest route is the Terminal built into cPanel:

    1. Sign in to cPanel.
    2. Scroll to the Advanced section.
    3. Click Terminal.
    4. If a warning appears, click I understand and want to proceed.

    Tip: Prefer your own SSH client? Many hosts use a non-standard SSH port instead of 22 — check your welcome email or ask our support team for the right port.

  2. 2

    Step 2 of 6

    Install the acme.sh client

    acme.sh is a small shell script that runs happily inside cPanel's restricted environment — no root access needed. Install it with:

    Terminal
    curl https://get.acme.sh | sh

    The installer prints the folder it was installed to. Make a note of it — you may need the full path later.

  3. 3

    Step 3 of 6

    Register with the ACME server

    Link acme.sh to your certificate subscription using your EAB credentials:

    Terminal
    ~/.acme.sh/acme.sh --register-account \  --server SERVER \  --eab-kid EAB_KID \  --eab-hmac-key EAB_HMAC_KEY

    Replace the placeholders

    SERVER
    The ACME directory URL for your certificate, e.g. https://acme.sectigo.com/v2/DV. We send it with your credentials.
    EAB_KID
    Your External Account Binding key ID — the shorter of the two credentials.
    EAB_HMAC_KEY
    Your External Account Binding HMAC key — the longer credential. Treat it like a password.

    Note: Seeing “command not found”? Replace ~/.acme.sh/acme.sh with the full path printed in the previous step, for example /home/username/.acme.sh/acme.sh.

  4. 4

    Step 4 of 6

    Issue the certificate and deploy it to cPanel

    Request the certificate and tell acme.sh to hand it to cPanel through the cPanel API:

    Terminal
    ~/.acme.sh/acme.sh --issue \  --webroot /home/username/public_html \  --domain yourdomain.com \  --domain www.yourdomain.com \  --deploy-hook cpanel_uapi \  --server SERVER \  --eab-kid EAB_KID \  --eab-hmac-key EAB_HMAC_KEY

    Replace the placeholders

    --webroot
    The folder that holds your homepage. Find it in cPanel's File Manager if you're unsure.
    --domain
    Each hostname to secure. Repeat the flag for www and non-www versions.
    --deploy-hook cpanel_uapi
    Installs the certificate into cPanel after every issue and renewal.

    When the certificate has been issued, import it into cPanel:

    Terminal
    ~/.acme.sh/acme.sh --deploy \  --domain yourdomain.com \  --deploy-hook cpanel_uapi
  5. 5

    Step 5 of 6

    Check the installation

    The certificate now appears in cPanel. To confirm:

    • Open SSL/TLS → Certificates (CRT) to see the new certificate.
    • Open SSL/TLS → Manage SSL Sites to confirm it's applied to your domain.
    cPanel › SSL/TLS
    cPanel SSL/TLS Manage SSL Sites screen listing the newly installed ACME certificate
    cPanel → SSL/TLS → Manage SSL Sites showing the installed certificate.

    Finally, visit https://yourdomain.com and look for the padlock, or run the domain through our free SSL Checker for a full chain and expiry report.

  6. 6

    Step 6 of 6

    Confirm automatic renewal

    acme.sh adds a daily cron job and renews certificates roughly 30 days before they expire. Force a test renewal to prove it works:

    Terminal
    ~/.acme.sh/acme.sh --cron --force

    Back in SSL/TLS → Manage SSL Sites, the Certificate ID and expiry date should have changed.

    cPanel › Manage SSL Sites
    cPanel Manage Installed SSL Websites table showing an updated certificate ID and expiry after renewal
    A new Certificate ID confirms the renewal and redeploy worked.

All set — your certificate now renews itself

Keep an eye on it anyway: scheduled jobs occasionally fail. Check your live certificate any time with our free SSL Checker.

Answers

Troubleshooting cPanel

Straight answers from our team. Still unsure? Call, WhatsApp or chat with us.
01Terminal isn't in my cPanel
Your package doesn't include shell access. Ask your host to enable it — on Enet cPanel hosting, contact support and we'll switch it on or install the certificate for you.
02The domain check fails
Make sure the domain points to this hosting account and that --webroot is the folder that actually serves the site. Temporary redirects or security plugins that block /.well-known/acme-challenge/ can also cause failures.
03The certificate issued but cPanel still shows the old one
Rerun the --deploy command. If it still doesn't change, check that the account's cPanel API is reachable and that the domain is listed under Domains in cPanel.
More setup guides

Installing somewhere else?

All guides

Screenshots show each platform's own admin screens; product names and logos belong to their owners and don't imply endorsement. Commands were reviewed in November 2026 — client tools change, so ask our team if a step doesn't match what you see.

Secure your site

Turn visitors into confident customers

Remove “Not secure” warnings, protect logins and payments, and show customers who you are — with free reissues and installation help.

  • Issued in minutes
  • Free reissues
  • Install help
  • M-Pesa checkout