Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

HTTPS

Direct answer

HTTPS is HTTP over TLS, encrypting and authenticating web traffic with a certificate for the site's domain. Use TLS 1.2 or 1.3, redirect HTTP to HTTPS and enable HSTS.

When to use this

Use this when serving web traffic over TLS.

First 30 seconds

1. HTTPS everywhere.

2. Redirect HTTP → HTTPS.

3. HSTS.

4. Valid certificates.

5. No mixed content.

Operational verification

HTTP → redirect → HTTPS with HSTS

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Incomplete certificate chain (works in browsers that cache intermediates, fails elsewhere).
  • TLS 1.0/1.1 still enabled.
  • Mixed content (HTTP resources on HTTPS pages).
  • Certificates expiring because renewal is manual — use ACME (Let's Encrypt, certbot, acme.sh) and monitor expiry.
Platform / version applicability
Security architecture and operations
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformSecurity architecture and operations
Key commandnmap --script ssl-enum-ciphers -p 443 example.com
Scope / prerequisiteUse this when serving web traffic over TLS.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Checks Verify boundary
openssl s_client -connect example.com:443 -servername example.com </dev/null | openssl x509 -noout -dates -issuer
nmap --script ssl-enum-ciphers -p 443 example.com

Aim for TLS 1.2+ only, ECDHE key exchange, AEAD ciphers, a complete certificate chain and HSTS. SSL Labs grade A is a good target.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Allow only TLS 1.2 and 1.3.
  • Redirect HTTP to HTTPS.
  • Use a valid certificate for the domain.
Key checks
  • curl -I http://<site> — redirect to HTTPS
  • openssl s_client -connect <site>:443 -servername <site> </dev/null — TLS
  • curl -sI https://<site> | grep -i strict — HSTS
ReferenceWhy it matters1 section · depth on demand

Good configuration

  • TLS 1.2 and 1.3 only; disable SSLv3, TLS 1.0/1.1.
  • Certificates from a trusted CA, automatically renewed (ACME/Let's Encrypt).
  • Redirect HTTP → HTTPS with 301 and add HSTS.
  • Forward-secret cipher suites (ECDHE) with AES-GCM or ChaCha20.

Test with openssl s_client -connect host:443 -servername host or SSL Labs.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

HTTPS is HTTP over TLS: it encrypts traffic between browser and server, shows the server's identity with a certificate, and protects integrity. Without it, anyone on the path can read and modify pages, steal session cookies and inject content.

Configuration essentials:

SettingRecommendation
ProtocolsTLS 1.2 and 1.3 only
CertificatesTrusted CA, automated renewal (ACME), full chain
RedirectHTTP → HTTPS (301)
HSTSStrict-Transport-Security: max-age=31536000; includeSubDomains
Mixed contentAll resources over HTTPS
curl -sI http://example.com | grep -i location
openssl s_client -connect example.com:443 -servername example.com </dev/null | openssl x509 -noout -dates

Test public sites with an external TLS checker after changes.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docSecurity architecture and operations current

Authoritative/upstream documentation reviewed for bounded claims in Web Security → HTTPS. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://owasp.org/www-project-application-security-verification-standard/ · confidence 94%
Confirmation

Confirm action

Continue?