Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Self-signed certificate in production: how to find and fix it

OPS-058High impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

An HTTPS certificate proves that a server really owns a domain. Normally a trusted certificate authority (CA) signs it. A self-signed certificate is signed by its own key instead. It still encrypts traffic, but no browser has a reason to trust it.

Self-signed certificates are fine on a developer laptop or an internal test server. The problem starts when one reaches production. This usually happens after a server rebuild, a default certificate left on a new virtual host, a staging config copied live, or a control panel that failed to issue a real certificate and fell back to its own.

Why it costs you leads or sales

The warning page appears before your page loads. Visitors never see your offer, form or checkout. Ad clicks you paid for land on a red screen. Your analytics and ad tags never run for those visitors, so the loss is also invisible in your reports.

It also breaks things that are not visible in a browser. Payment webhooks, API calls, embedded forms and CRM integrations often refuse self-signed certificates outright, with no click-through option. Orders and leads can fail silently.

Where a self-signed certificate stops the funnel
  1. Ad clickVisitor arrives from a paid or organic link
  2. HTTPS handshakeBrowser rejects the self-signed certificate
  3. Landing pageNever loads
  4. Form or checkoutNever reached
  5. Conversion trackingNo tags fire

The visitor is stopped at the connection step, so everything after it is lost.

Visitors who continue past the pageExample numbers
Visitors who continue past the page (example)Trusted certificate: 97 visitors out of 100; Self-signed certificate: 5 visitors out of 10003774975Trusted certificateSelf-signed certifica…visitors out of 100

Example: illustrative numbers only. With a trusted certificate most visitors load the page; behind a warning screen very few click through.

How to check if your site has it

Test from a device and network that has never trusted your server. Your own machine may have the certificate installed as an exception, which hides the problem.

Confirm the certificate is self-signed
  1. Open the site in a private window on mobile data

    Load https://yourdomain.com. A full-page warning means the certificate is not trusted.

  2. Inspect the certificate

    In Chrome, click the warning, then view the certificate details. If Issuer and Subject are the same, it is self-signed.

  3. Check from the command line

    Run the openssl command below. Matching issuer and subject lines, or 'self-signed certificate' in the verify output, confirm it.

  4. Check every hostname

    Repeat for www, the apex domain, checkout, app and any form or booking subdomain. One host can be fine while another is not.

Show issuer, subject and verification resultbash
echo | openssl s_client -connect yourdomain.com:443 -servername yourdomain.com 2>/dev/null | openssl x509 -noout -issuer -subject -dates

echo | openssl s_client -connect yourdomain.com:443 -servername yourdomain.com 2>&1 | grep -i "verify"

How to fix it

The fix is the same everywhere: get a certificate from a trusted CA for the exact hostnames you serve, install it with the full chain, and remove the self-signed one. Let's Encrypt issues free certificates. The steps differ by platform.

Replace the self-signed certificate
  1. Use your host's SSL tool

    Most hosts have an SSL or Let's Encrypt option in their control panel (for example cPanel's SSL/TLS Status, then Run AutoSSL). Issue a certificate for the domain and www.

  2. Remove the old certificate

    Delete the self-signed one from the panel so it is not served as the default.

  3. Check Settings > General

    Make sure WordPress Address and Site Address start with https://.

Issue a Let's Encrypt certificate with Certbot (nginx)bash
sudo certbot --nginx -d example.com -d www.example.com
sudo certbot renew --dry-run
nginx: use the full chainnginx
server {
  listen 443 ssl;
  server_name example.com www.example.com;
  ssl_certificate     /etc/letsencrypt/live/example.com/fullchain.pem;
  ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;
}

How to confirm it's fixed

Fix verification
  • A private window on mobile data loads every hostname without a warning
  • The openssl command shows an issuer that is a public CA, not the same as the subject
  • The padlock appears on the landing page, form page and checkout
  • The certificate covers both www and the apex domain
  • Forms, webhooks and API calls that use HTTPS complete successfully
  • Ad and analytics tags fire on the page again

How to prevent it happening again

Prevention
  • Keep staging and production certificate configs separate
  • Remove default or snakeoil certificates and default server blocks after a rebuild
  • Use automatic renewal and test it with a dry run
  • Re-check the certificate after every server move, DNS change or CDN change
  • List every hostname that serves customers, including checkout and booking subdomains
  • Monitor the live site from outside your network on a schedule

How FunnelGuard handles this

FunnelGuard detects this issue today. Its robot visitor loads your pages over HTTPS on a schedule, from the EU or the US, the way a real visitor would. If the certificate is not trusted, the journey fails at the first step, the failure is re-checked from a second region, and you get one alert with a screenshot and a likely cause. It never bypasses security warnings. It reports them.

The Free plan covers 1 site and 2 journeys with daily checks and no card. Paid plans start at $39/month with a 3-day free trial. A free read-only website audit is also available.

Questions people ask

Why does my website say 'Your connection is not private'?

The browser could not trust the site's certificate. Common causes are a self-signed certificate, an expired one, or one issued for a different hostname. Open the certificate details: if the issuer and subject are identical, it is self-signed.

What is a self-signed certificate?

It is an HTTPS certificate signed by its own key rather than by a trusted certificate authority. It encrypts traffic but browsers cannot verify who owns it, so they show a warning.

How do I replace a self-signed certificate with a real one?

Request a certificate from a trusted CA such as Let's Encrypt for every hostname you serve, install the full chain and private key on your server or hosting panel, and reload the web server. Then remove the old self-signed certificate.

Is a self-signed certificate safe to use in production?

No. It encrypts traffic, but visitors see a security warning and many integrations refuse the connection. Use it only for development or internal testing.

How can I check if my certificate is self-signed?

Run openssl s_client -connect yourdomain.com:443 -servername yourdomain.com and look at the issuer and subject. If they match, or the verify result says 'self-signed certificate', it is self-signed.

Why does my site work for me but show a warning for customers?

You may have added a browser exception or installed the certificate on your own device. Test in a private window on mobile data, or use an external monitor, to see what customers see.

Will a self-signed certificate hurt my ad tracking?

Yes. If visitors are stopped by the warning page, your page never loads and conversion tags never fire, so you lose both the visit and the data.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.