CloudPanel: step 5. SSL certificate

In the examples 203.0.113.10 is your server address and my-site.com is your domain. The server address and panel password are in the e-mail with your credentials.

After creation the site has a self-signed certificate. Browsers do not accept it. Issue a free Let's Encrypt certificate. It renews automatically.

Requirement

The domain and www point to the server (step 2). Otherwise the issue fails.

Issue

  1. Site → "SSL/TLS" → "Actions" → "New Let's Encrypt Certificate".
  2. The list already has my-site.com and www.my-site.com. Remove extras, add subdomains.
  3. Click "Create and Install".
Let's Encrypt form
Let's Encrypt form
Certificate list
Certificate list

Your own certificate

"Actions" → "Import Certificate". Paste the private key, certificate and chain. Click "Import and Install".

Cloudflare

With the Cloudflare proxy on (orange cloud) Cloudflare serves the certificate to visitors. In Cloudflare choose SSL mode "Full". On the site "Security" tab enable "Allow traffic from Cloudflare only".

Errors

  • Error right at issue — the domain or www does not point to the server yet. Remove www from the list or add the A record.
  • Certificate exists, browser warns — clear the browser cache, check the DNS records.