HTTPS is not a new protocol
HTTPS = HTTP + TLS. TLS encrypts at the transport layer; the upper layer is still plain HTTP. So "HTTPS means safe" is only half true: it defends against eavesdropping and tampering in transit, not whether the server itself is trustworthy.
What certificate validation checks
- Identity: a CA issues the cert; the browser checks the domain matches and the issuer is trusted;
- Integrity: the key negotiated in the handshake encrypts traffic, so altered data fails immediately;
- Validity: certs expire and must be renewed.
Common myths
- Self-signed is not inherently unsafe: same crypto strength, just no trusted CA backing, so browsers warn;
- TLS 1.0 / 1.1 are retired: use at least 1.2, prefer 1.3;
- Internal traffic needs HTTPS too: it can be sniffed or MITM'd on a LAN.
Real-world cases: three "the cert is fine but it won't open"
- Incomplete chain: only the leaf certificate is installed, without intermediates. Desktop browsers may patch the chain, but some Android builds and CLI clients report
unable to get local issuer certificate. Fix: deploy the full chain. - Expired certificate: auto-renewal can fail silently until users see warnings. Monitor the expiry date, alert 30 days ahead, and add retries for renewal.
- Mixed content: the page is HTTPS but still loads
http://images or scripts, which browsers block or flag. Use CSP'supgrade-insecure-requestsas a stopgap, then fix the hard-coded http URLs at the source.
FAQ
Does HTTPS prevent replay attacks? Not by itself — TLS only guarantees confidentiality and integrity in transit; replay protection needs nonces, timestamps or idempotency tokens. Can my ISP see which site I visit? It can see the domain or SNI (unless ECH is in use), but not the paths or content. What does HSTS do? It tells browsers to use HTTPS only for that domain, preventing a first-visit downgrade hijack; confirm the whole site supports HTTPS before enabling it. Can I use a self-signed cert in production? Only on a controlled internal network or in testing, and clients must trust your root, or users see warnings.
Try it
Symmetric encryption: Symmetric encryption, Base64.
Day-to-day deployment and operations
Once the theory is clear, the recurring work is a handful of concrete tasks.
- Manage the certificate lifecycle: monitor issuance, renewal and expiry. Auto-renewal is not fire-and-forget — failures are silent until users see a warning. Alert 30 days ahead and add retries plus a manual fallback.
- Decide protocol versions and cipher suites: state which are allowed and disable known-weak combinations. Keep the policy in configuration under code review rather than relying on manual edits.
- Pair with security headers: once you enable forced redirects and preload declarations, browsers use only encrypted access for a long time — so confirm every subdomain supports it, or test environments become unreachable.
- Monitor and alert: track handshake failure rate, days to expiry and protocol distribution. Distribution shows your client mix, and a sudden rise in handshake failures usually means a certificate or middlebox problem.
- Internal traffic counts too: east-west traffic can be sniffed, especially across container networks and inter-datacentre links. Roll out encryption for internal services with properly trusted certificates instead of self-signed plus skipped verification.
Division of labour with the application
Transport encryption protects data in flight only; it does not replace application authentication, input validation and authorisation. Concluding that "we have encryption so we are secure" is one of the most common misreadings.