Contents
An SSL (more precisely TLS) certificate lets browsers reach your site over HTTPS: the padlock, encrypted forms and logins, and no “Not secure” warning. Most sites don’t need to buy one. cPanel’s AutoSSL requests free certificates from Let’s Encrypt, installs them and renews them on its own.
How AutoSSL works
- AutoSSL goes through every domain on the account: the main domain, addon domains, subdomains and their
wwwversions. - For each name it proves you control the domain, usually by placing a temporary file under
/.well-known/that the certificate authority fetches over HTTP. - If the check passes, it installs the certificate and renews it before it expires.
So the requirements are short: the name must resolve to your server, the check file must be reachable, and nothing in DNS may forbid the certificate authority.
Before you start
- The domain points to your hosting through its nameservers or an A record (connect a domain). After a change, DNS can take a few hours to reach everyone.
- The domain (and its
wwwversion) is added to your hosting account.
1. Check DNS
dig +short example.com A
dig +short www.example.com A
Both should return your server’s IP address. You can also use the DNS lookup tool. If www returns nothing, add a CNAME record www → example.com or an A record.
2. Check CAA records
A CAA record lists the certificate authorities allowed to issue for your domain.
dig +short example.com CAA
- No output: fine, any authority may issue.
- Output that doesn’t include
letsencrypt.org: AutoSSL will fail. Add a CAA record0 issue "letsencrypt.org"and keep your other entries if you also use other authorities.
3. Run AutoSSL
- In cPanel: open Security → SSL/TLS Status, select the domains that aren’t secured (or leave all selected) and click Run AutoSSL. The check takes a few minutes; reload the page to see the result.
- In the Araby Panel: open your service, then Site tools → SSL, and click Run AutoSSL now. The page shows which domains are secured and the message from the last check.
A green padlock next to a domain means its certificate is installed. A red or yellow status comes with the reason AutoSSL couldn’t issue.
4. Redirect everything to HTTPS
In cPanel open Domains → Domains and turn on Force HTTPS Redirect for the domain. Or put this at the top of .htaccess in the site folder:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
On WordPress, also change Settings → General → WordPress Address and Site Address to https://. Details in Force HTTPS.
5. Fix mixed content and verify
If the padlock shows a warning, the page still loads some images, scripts or fonts over http://. Change those links to https://; in WordPress, replace the old http:// address in the database with a search-and-replace tool. Then verify from a terminal:
curl -sI http://example.com | head -n 3
echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null | openssl x509 -noout -issuer -dates
The first command should show a 301 redirect to https://; the second prints the issuer and the validity dates.
Troubleshooting
- AutoSSL says the domain doesn’t resolve to the server: the A record points somewhere else, or a recent change hasn’t spread yet. Fix DNS and run AutoSSL again later. All causes are in AutoSSL failed.
- A CAA error: the domain’s CAA records don’t allow
letsencrypt.org. Add it as in step 2. - The check file returns 403 or 404: a rule in
.htaccess, a security plugin or a redirect blocks/.well-known/. Allow that path, for example withRewriteRule ^\.well-known/ - [L]placed before your other rewrite rules. - Cloudflare in front of the site: with the proxy (orange cloud) on, visitors see Cloudflare’s certificate. Use SSL mode Full (strict) once the server has a valid certificate, and avoid Flexible, which causes redirect loops with Force HTTPS (Cloudflare with your hosting).
- Too many attempts: repeated failures for the same domain can hit Let’s Encrypt’s rate limits. Fix the cause first, then wait before retrying.
- It works on
example.combut not onwww: thewwwname has no DNS record or isn’t on the account.
On ArabyHost
Free SSL (AutoSSL with Let’s Encrypt) is issued automatically for every domain on your account once it points to ns1.arabicode.com and ns2.arabicode.com or to the server’s IP, and it renews by itself. AutoSSL also runs on its own every night; after adding a domain or changing DNS, click Run AutoSSL now on the SSL page of the Araby Panel instead of waiting. If a domain stays unsecured, the same page shows the last check’s message, and Araby AI can explain it and suggest the fix. This works on every hosting plan, including WordPress and WooCommerce.
FAQ
Is a free Let's Encrypt certificate as secure as a paid one?
The encryption is the same. Paid certificates can add organization validation, a warranty or vendor support, but for encrypting a website, a Let's Encrypt certificate gives visitors the same padlock and the same protection.
How often does the certificate need renewing?
Let's Encrypt certificates are short-lived on purpose, and AutoSSL renews them automatically before they expire. You don't need to do anything as long as the domain keeps pointing to the server.
Does AutoSSL cover www and subdomains?
Yes. It covers each domain and subdomain on the account by name, including the www version, as long as each one's DNS record points to the server. A subdomain without a DNS record stays unsecured.