CyberLens documentation

TLS / HTTPS

CyberLens collects essential information about the HTTPS connection, the TLS certificate, and the redirect from HTTP to HTTPS.

Italian version
Severity
Moderate
Estimated fix time
10-30 min
Technical level
Beginner / Intermediate
Applies to
WordPressStatic SitesCMS / E-commerceHosting / Server Configuration

Quick Answer

TLS / HTTPS protects the connection between the browser and the site. CyberLens checks whether it can collect basic TLS information, which TLS version is in use, who issued the certificate, when it expires, and whether HTTP traffic is redirected to HTTPS. If the certificate is valid and the redirect is present, that is a good technical sign; if not, it is worth reviewing the setup.

What It Is

Why It Matters

A correct TLS / HTTPS setup matters for several practical reasons:

Info: HTTPS means the connection is encrypted, but it does not automatically make the whole site secure. A valid certificate does not replace code updates, application security work, backups, or solid server configuration. It is a technical foundation, not a complete guarantee. In the same way, missing HTTPS does not mean the site is compromised; it means the connection is not encrypted.

How CyberLens Checks It

CyberLens connects to the target domain and collects a focused set of parameters:

  1. the TLS protocol version in use;
  2. the authority that issued the certificate (issuer);
  3. the certificate expiry date;
  4. whether an automatic redirect from HTTP to HTTPS is present.

Technical note: CyberLens performs a focused check on these four parameters. It is not a complete TLS audit. It does not analyze cipher suites, assign an SSL Labs-style rating, verify OCSP stapling, inspect certificate transparency logs, validate the full certificate chain in detail, review HSTS in depth, or analyze Mixed Content. If those areas matter for the site, they should be checked with dedicated tools.

Possible Findings

HTTPS active, valid certificate, and redirect present

Severity: Informational
The basic setup looks correct. Traffic is encrypted and consolidated on the secure version.

HTTPS active but no HTTP -> HTTPS redirect detected

Severity: Moderate
The site is available over HTTPS, but the HTTP version may remain accessible or may not be explicitly redirected to HTTPS.

Certificate close to expiry or already expired

Severity: High
If the certificate has expired, browsers may show security warnings or block access. If expiry is close, it is worth checking renewal immediately.

TLS information not collected or HTTPS unavailable

Severity: High
CyberLens could not establish a secure connection. Possible causes include a missing certificate, incorrect configuration, or DNS propagation issues. High priority.

Unexpected certificate issuer

Severity: Moderate
A certificate is present, but the issuing authority does not match what was expected or shows unusual data. This requires manual review.

Priority depends on the finding:

  1. Expired certificate or HTTPS unavailable: act immediately by checking the certificate status in the hosting panel and reviewing DNS propagation.
  2. Certificate close to expiry: confirm that automatic renewal is working, or renew it manually through the provider.
  3. Missing HTTP -> HTTPS redirect: add a 301 redirect at server, hosting-panel, or CDN level.
  4. Unexpected issuer: review the certificate details manually and confirm where it was issued from.
  5. Everything looks correct: no immediate action is needed, apart from periodic monitoring of automatic renewals.

How To Fix It

WordPress

Hosting / Control Panel (Plesk, cPanel, etc.)

Apache / .htaccess

If you have access to the site root on Apache, you can add a permanent redirect rule in .htaccess:

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Warning: before applying the rule, check whether the redirect is already handled by the hosting panel or CDN, to avoid redirect loops such as “Too many redirects”. On more complex sites, test on a single page first.

Nginx

On a VPS using Nginx, configure the server block listening on port 80 (HTTP) so it redirects to port 443 (HTTPS):

server {
    listen 80;
    server_name example.com www.example.com;
    return 301 https://$host$request_uri;
}

Warning: replace example.com with the real domain. Make sure the server block listening on 443 ssl is configured with the correct certificate paths. Check the syntax with nginx -t before reloading the server with systemctl reload nginx.

CDN / Reverse Proxy (for example, Cloudflare)

How This Appears in CyberLens

In the report, the TLS / HTTPS block shows:

Example JSON output:

{
  "tls": {
    "issuer": {
      "countryName": "US",
      "organizationName": "Let's Encrypt",
      "commonName": "R13"
    },
    "expires": "Aug 13 07:46:26 2026 GMT",
    "version": "TLSv1.3"
  },
  "https_redirect": true
}