webzod
account

Replace the self-signed certificate with a trusted one on nginx

tls.cert.self_signed · effort: minutes

Why it matters

A self-signed certificate is not vouched for by any authority browsers trust, so every visitor sees a security warning. Many API clients refuse the connection altogether.

The fix

  1. Install certbot and its nginx plugin from your distribution, then request a certificate for the host. It edits the server block and sets up renewal.
  2. Test and reload nginx, then check that the renewal timer is active.
bash
sudo certbot --nginx -d example.com
sudo nginx -t && sudo systemctl reload nginx
systemctl list-timers | grep certbot

The examples use example.com. Replace it with your own domain.

Read the documentation (opens in a new tab)

Scan your domain to see whether this applies to you.