Security
What is an SSL certificate and how does HTTPS work?
How SSL/TLS certificates encrypt connections, what validation levels mean, why certificate lifetimes are getting shorter and how to fix common HTTPS errors.
Updated
When a browser shows a padlock, the connection to that site is encrypted using TLS (Transport Layer Security), still commonly called SSL. An SSL certificate is the file that makes this possible: it proves the server is allowed to use the domain name and contains the public key used to set up encryption.
What happens during a secure connection
- Your browser connects to the server and asks for its certificate.
- The browser checks the certificate was issued by a trusted certificate authority, has not expired and matches the domain.
- Browser and server agree on encryption keys for the session.
- Everything sent afterwards, including passwords, card numbers and form data, is encrypted.
Validation levels
Domain validated (DV) certificates confirm control of the domain and are issued in minutes. Organisation validated (OV) certificates also verify the business behind the site. Extended validation (EV) certificates involve the strictest checks. All three provide the same strength of encryption; the difference is how much identity checking was done.
Certificates are getting shorter-lived
The CA/Browser Forum, which sets the rules for publicly trusted certificates, voted in 2025 to reduce maximum certificate lifetimes in stages: to 200 days from March 2026, 100 days from March 2027 and 47 days from March 2029. The aim is to limit the damage if a key is compromised. In practice it means manual renewals are no longer realistic. Automated issuance, such as that built into Oxflare hosting, renews certificates without anyone needing to remember.
Common HTTPS problems
- "Not secure" warning: the site has no certificate, or some content is loaded over plain HTTP (mixed content). Update internal links and image URLs to https://.
- Certificate name mismatch: the certificate does not cover the exact name visited, for example www versus the bare domain.
- Expired certificate: renewal failed. Check automation and DNS records such as CAA.
- Incomplete chain: the server is not sending the intermediate certificate. Install the full chain.
Beyond the padlock
Once HTTPS works everywhere, redirect all HTTP traffic to HTTPS and consider enabling HTTP Strict Transport Security (HSTS), which tells browsers to always use HTTPS for your domain.
