Contents
Before AutoSSL, site owners bought a certificate, generated a CSR, installed it by hand and then had to remember to renew it every year. AutoSSL does all of that, using a free certificate authority such as Let’s Encrypt.
How AutoSSL works
- It reads the domains and subdomains on your account, such as
example.com,www.example.comandmail.example.com. - It checks over DNS that each name points to this server.
- It runs domain control validation (DCV): it places a temporary file in the site’s
/.well-known/folder, and the certificate authority fetches it over the internet. - When validation succeeds, the certificate is issued and installed automatically for the web and mail services.
- It re-checks regularly and renews each certificate well before it expires.
Where to find it in cPanel
Open Security → SSL/TLS Status. Each name is listed with its state: a valid certificate, or a warning with the reason it failed. Run AutoSSL starts a new check straight away after you fix a problem.
Common reasons it fails
| Cause | Fix |
|---|---|
| The domain points to another server | Correct the A record or nameservers and wait for propagation |
.htaccess rules block /.well-known/ |
Add an exception before your redirect rules |
| A CAA record doesn’t allow the issuer | Add the issuer to the CAA record or remove the record |
| A subdomain has no DNS record | Create the record, or ignore the name if you don’t use it |
An exception for the validation folder in .htaccess looks like this:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_URI} !^/\.well-known/
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
More detail is on the AutoSSL failed error page.
A common confusion
AutoSSL isn’t a certificate authority itself; it’s a tool that requests certificates from one and installs them. The certificates it gets are DV, with the same encryption strength as paid ones.
On ArabyHost
AutoSSL with Let’s Encrypt runs on every ArabyHost account, so the free certificate is issued automatically as soon as your domain points to ns1.arabicode.com and ns2.arabicode.com. Open cPanel in one click from the Araby Panel to follow certificate status, and use the free SSL certificate guide to switch on the HTTPS redirect afterwards.
FAQ
How soon does the certificate appear after I connect a domain?
Once the domain really points to the server and DNS has propagated, the certificate is issued on the next check. You can speed that up with Run AutoSSL on the SSL/TLS Status page.
Does AutoSSL cover subdomains?
Yes, every subdomain added to the account that points to the server, such as www and mail. It doesn't issue wildcard certificates.
Why does AutoSSL fail for a domain behind Cloudflare?
With the proxy on, the validation request may not reach the server as expected. Pause the proxy (grey cloud) until the certificate is issued, then turn it back on with SSL mode set to Full (strict).