FastPanel: 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, panel login and password are in the VPS activation e-mail.

Requirement

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

Let's Encrypt

  1. Site card → "SSL certificates" → "New certificate".
  2. Type: Let's Encrypt. Enter an e-mail. Click "Save".
  3. The certificate renews automatically.
Site SSL certificates
Site SSL certificates

Enable HTTPS

  1. Site card → "Settings" → "HTTPS".
  2. Enable "Redirect to HTTPS". Optional — HSTS and HTTP/2.
  3. Click "Save".
Site settings → HTTPS
Site settings → HTTPS

Your own certificate

  1. "SSL certificates" → "New certificate" → type "Existing".
  2. Paste the private key, certificate and chain. Click "Save".

A CSR for buying a certificate: "New certificate" → type "Certificate signing request (CSR)".

Errors

  • The domain or an alias points to another server. Check the A records of all site names.
  • There is an AAAA record (IPv6) but the server runs without IPv6. Delete the AAAA record.
  • A site behind Cloudflare in "Full" mode without a certificate shows a placeholder. Issue the certificate with the proxy off, or use "Flexible" while issuing.
  • Let's Encrypt issues at most 5 certificates per set of names per week. After many failed attempts wait a day.