Skip to content

cPanel Setup

For shared hosting or cPanel accounts.

Option A: Panel Supports Custom ACME

If your cPanel provider supports custom ACME settings, enter:

  • Server URL
  • EAB MAC ID
  • EAB MAC key

Save and run AutoSSL.

Then open:

text
https://example.com

Option B: SSH + acme.sh

If cPanel provides Terminal or SSH, use webroot validation.

1. Set Variables

bash
export DOMAIN="example.com"
export EMAIL="admin@example.com"
export ACME_SERVER="your Server URL"
export EAB_KID="your EAB MAC ID"
export EAB_HMAC_KEY="your EAB MAC key"
export WEBROOT="$HOME/public_html"

2. Install and Register

bash
curl https://get.acme.sh | sh -s email="$EMAIL"

~/.acme.sh/acme.sh --register-account \
  --server "$ACME_SERVER" \
  --eab-kid "$EAB_KID" \
  --eab-hmac-key "$EAB_HMAC_KEY" \
  -m "$EMAIL"

3. Issue the Certificate

bash
~/.acme.sh/acme.sh --issue \
  --server "$ACME_SERVER" \
  -d "$DOMAIN" \
  -w "$WEBROOT"

Certificate files are usually in:

text
~/.acme.sh/example.com_ecc/

or:

text
~/.acme.sh/example.com/

4. Install in cPanel

Open:

text
SSL/TLS -> Manage SSL sites

Paste:

  • Certificate: fullchain.cer
  • Private Key: example.com.key

Then open:

text
https://example.com

Released under internal 12SSL documentation guidelines.