Skip to content
On this page

SSL issues

Self-signed certificate ​

Your site is serving an SSL certificate that signed itself rather than being issued by a trusted certificate authority. Browsers reject these for any public-facing site.

Symptom ​

  • DomainDash marks the SSL check as Invalid and the site shows a Security problem badge. The Security card reads "Your certificate wasn't issued by a trusted provider, so browsers will show a warning."
  • Visitors see a browser warning like "Your connection is not private" or NET::ERR_CERT_AUTHORITY_INVALID
  • Running openssl s_client -connect example.com:443 -servername example.com </dev/null 2>/dev/null | openssl x509 -noout -issuer -subject shows the same value for both issuer and subject

What it means ​

SSL certificates are normally issued by a certificate authority (CA): a trusted third party that vouches for your identity. A self-signed certificate is one where the server issued the certificate to itself. The certificate's cryptography works, but browsers have no way to verify the server is who it claims to be, so they refuse to trust it and warn visitors away. Self-signed certs are fine for local development, but never for a public-facing site. Swapping in a free certificate from a public CA takes a few minutes.

A self-signed cert has no chain to a CA at all. If your issuer= and subject= differ, you have a chain that doesn't reach a root browsers recognise, most often because an intermediate certificate is missing from the server. See untrusted certificate authority for that.

Common causes ​

  • A dev/staging certificate leaked into production. Local development tools (mkcert, openssl req -x509, vite preview defaults) often generate self-signed certs that someone copied to production by accident.
  • A default fallback certificate is serving. Your web server has a hard-coded default ("snake oil") cert that responds when no proper cert is configured for the hostname being requested.
  • Your reverse proxy or load balancer is terminating TLS with a default cert because the real certificate hasn't been uploaded or attached.
  • A new server was provisioned and the SSL automation hasn't run yet, so the placeholder cert is still in place.
  • The renewer or provisioner failed silently and a previous self-signed cert is still being served.

How to fix ​

  1. Confirm it's self-signed. Run:

    bash
    openssl s_client -connect example.com:443 -servername example.com </dev/null 2>/dev/null | openssl x509 -noout -issuer -subject

    If issuer= and subject= are identical, the cert is self-signed.

  2. For Let's Encrypt with certbot, issue a real certificate:

    bash
    sudo certbot --nginx -d example.com -d www.example.com

    (Replace --nginx with --apache if you use Apache.) Reload the web server after.

  3. For hosted providers, open the SSL/TLS section of the dashboard and trigger certificate provisioning for your custom domain. This typically takes a few minutes.

  4. Check your web server config to find where the self-signed cert is being served. For nginx:

    bash
    sudo nginx -T | grep -E "ssl_certificate|server_name"

    Replace any reference to a self-signed cert file (often named default.pem, snakeoil.pem, localhost.pem) with the path to your real certificate.

  5. If you can't immediately replace the cert (e.g. you need it briefly for an internal-only environment), at minimum stop the public DNS pointing at it so visitors aren't sent to it.

How to verify ​

  1. Re-run the issuer/subject check from step 1. The issuer= should now reference a real CA (Let's Encrypt, DigiCert, Sectigo, etc.) and differ from the subject.
  2. Open the site in an incognito window. The padlock should appear with no warnings.
  3. Open the site in DomainDash. The next scheduled SSL check (every 6 to 24 hours, depending on your plan) picks up the new certificate, marks it Valid and clears the Security problem badge. If the problem had also taken the site Down, DomainDash re-checks the certificate as soon as the site recovers, so the badge clears within minutes.

Catch this automatically

DomainDash keeps an eye on this for you — and tells you in plain English the moment something needs your attention, before your visitors notice. Set up in under a minute, no credit card.