Check reference

SSL/TLS certificate

What it checks

Checks that the site uses HTTPS, how many days the certificate is valid, whether it is trusted and matches the host name, and the TLS version.

Check ID: external.tls

Keep It Peace connects from your server to each HTTPS host among the site address, the WordPress address and the additional URLs, and reads the certificate. It also reports when the site address does not use HTTPS (local host names are not reported).

The days left on the certificate are shown on the dashboard and in the e-mail summary.

Requests go from your server to your own site only. If the server cannot connect to itself, see Troubleshooting.

What a finding means

The titles, severities and explanations below are the ones shown on the Findings screen.

FindingSeverityMeaning
The site address does not use HTTPS
tls.no_https
MediumLogins, cookies and form data are sent unencrypted.
The SSL certificate has expired
tls.expired
CriticalThe certificate expires on …. Browsers show a security warning to visitors.
The SSL certificate expires in … days
tls.expiring
High MediumThe certificate expires on ….
High: 7 days or less. Medium: 21 days or less.
The certificate does not match the host name
tls.name_mismatch
HighThe certificate is issued for: …
The certificate is self-signed / The certificate is not trusted
tls.untrusted
HighCertificate verification failed: …
An outdated TLS version is used
tls.old_protocol
MediumThe connection used …, which is no longer considered secure.
Could not connect over HTTPS
tls.connection_failed
InfoThe TLS connection failed: …
The certificate could not be checked on this server
tls.unsupported
Infostream_socket_client() or the OpenSSL extension is not available to PHP.

How to fix

The recommended action shown with each finding:

  • The site address does not use HTTPS
    Enable a free certificate (e.g. Let's Encrypt) in your hosting panel and change the WordPress and site addresses to https://.
  • The SSL certificate has expired, The SSL certificate expires in … days
    Renew the certificate or check that automatic renewal works in your hosting panel.
  • The certificate does not match the host name
    Issue a certificate that includes this host name (with and without www if both are used).
  • The certificate is self-signed / The certificate is not trusted
    Use a certificate from a public certificate authority and make sure the intermediate certificates are installed.
  • An outdated TLS version is used
    Enable TLS 1.2 and 1.3 and disable older versions on the server.
  • Could not connect over HTTPS
    If visitors can open the site over HTTPS, the server may block connections to itself. Otherwise check the certificate in your hosting panel.
  • The certificate could not be checked on this server
    Check the certificate expiry date in your hosting panel instead.

Related settings

  • Settings → Checks → Enabled checks: switch “SSL/TLS certificate” on or off.
  • Settings → Targets → Additional URLs for external checks: other URLs on your own domain to check, in addition to the site address. The public URL of a registered directory is checked too.