webzod
account

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

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. Caddy uses a public certificate automatically when the site address is a real hostname that points at the server. A self-signed certificate means Caddy fell back to its own internal CA, which happens for localhost, IP addresses, the tls internal directive, or when public issuance failed.
  2. Remove any tls internal line, make sure the site address is the public hostname, and make sure ports 80 and 443 are reachable from the internet. Then reload Caddy.

Read the documentation (opens in a new tab)

Scan your domain to see whether this applies to you.