HTTPS, SSL & Security

What is HTTPS?

HTTPS, HyperText Transfer Protocol Secure, is the secure version of HTTP, the protocol used to transfer data between web browsers and servers. HTTPS encrypts the data exchanged during a web session using TLS: Transport Layer Security, ensuring that information transmitted between a visitor’s browser and the web server cannot be intercepted, read, or modified by third parties on the network path between them.

The S in HTTPS stands for Secure, the single most important distinction from standard HTTP. When a browser connects to an HTTPS website the connection is encrypted end to end. An eavesdropper who intercepts the network traffic sees only encrypted data, meaningless without the cryptographic keys needed to decrypt it. Login credentials, payment information, personal data, search queries, and all other content transmitted over HTTPS is protected from interception.

HTTPS is identified by the padlock icon in browser address bars and by the https:// prefix in URLs. Modern browsers actively flag HTTP connections as insecure, displaying “Not Secure” warnings in the address bar for any page served over HTTP. This browser-level signalling has made HTTPS the baseline expectation for all websites, not just those handling sensitive information but every website that wants to appear legitimate and trustworthy to visitors.

For redirect management HTTPS is non-negotiable. Every domain involved in a redirect, both the source domain and the destination domain, must support HTTPS correctly. An HTTP-only redirect source that serves certificate errors for HTTPS visitors fails to deliver those visitors to the redirect destination. An HTTP redirect destination undermines the security of the entire redirect chain. HTTPS is the foundation on which secure, reliable redirect infrastructure is built.

How HTTPS works

HTTPS operates through a combination of the HTTP protocol and TLS encryption, adding a security layer between the HTTP application layer and the TCP transport layer. Understanding the connection establishment process clarifies what HTTPS actually provides and why it matters.

TLS handshake: when a browser connects to an HTTPS website the first step is a TLS handshake, a negotiation process that establishes the encrypted connection before any HTTP data is transmitted. The handshake involves several steps.

The browser sends a Client Hello message specifying the TLS version it supports and the cipher suites, encryption algorithms, it can use.

The server responds with a Server Hello choosing the TLS version and cipher suite, and presents its SSL certificate: a digital document issued by a trusted certificate authority that proves the server’s identity and contains its public key.

The browser verifies the certificate, checking that it was issued by a trusted certificate authority, that it is valid for the domain being connected to, and that it has not expired or been revoked.

The browser and server exchange key material to derive the session encryption keys, using asymmetric cryptography during the handshake to securely establish symmetric session keys for the actual data encryption.

With the session keys established the encrypted connection is ready, all subsequent HTTP data is encrypted with these session keys.

Encrypted data transmission: once the TLS handshake completes the actual HTTP request and response occur over the encrypted channel. The browser sends the HTTP request, the URL being requested, headers, any POST data, encrypted with the session keys. The server decrypts the request, processes it, and sends back the HTTP response, the page content, headers, status code, also encrypted. Everything transmitted is protected from interception.

Certificate verification: the SSL certificate presented during the handshake is the basis for the browser’s trust in the connection. The certificate must be issued by a certificate authority in the browser’s trust store, a built-in list of trusted CAs. The certificate must be valid for the domain being connected to, a certificate for example.com is not valid for other-domain.com. The certificate must be within its validity period, not expired. If any verification check fails the browser displays a certificate error warning rather than establishing the connection.

HTTPS and HTTP, the key differences

Understanding what specifically changes when moving from HTTP to HTTPS clarifies why HTTPS is important and what it actually protects.

Encryption: HTTP transmits all data in plaintext. Anyone on the network path between browser and server, an ISP, a Wi-Fi operator, a government surveillance system, a malicious actor running a packet sniffer, can read every byte of HTTP traffic. Credentials, form submissions, page content, cookies, all visible in plaintext. HTTPS encrypts all of this, the same parties can see that a connection is occurring but cannot read its content.

Authentication: HTTP provides no way to verify that the server a browser is connected to is genuinely the intended server. A man-in-the-middle attack can intercept HTTP connections and serve content from a different server without the browser knowing. HTTPS provides server authentication through SSL certificates, the certificate proves the server’s identity has been verified by a trusted certificate authority.

Data integrity: HTTP provides no protection against data modification in transit. A man-in-the-middle can modify HTTP responses, inserting advertisements, malware, or modified content, without detection. HTTPS includes integrity protection, any modification of the encrypted data during transit causes the decryption to fail, alerting the browser that the data was tampered with.

Performance: historically HTTP was faster than HTTPS because encryption adds computational overhead. Modern TLS implementations and hardware acceleration have made this overhead negligible. HTTP/2 and HTTP/3: which require HTTPS, are actually faster than HTTP/1.1 through features like multiplexing and header compression. Modern HTTPS is typically as fast or faster than HTTP.

HTTPS and SEO

HTTPS has been an explicit Google ranking factor since 2014, websites on HTTPS receive a ranking benefit over equivalent HTTP sites. The benefit is described as a lightweight signal, not as impactful as content quality or backlinks, but real and measurable. Beyond the direct ranking signal HTTPS affects SEO through several indirect mechanisms.

Direct ranking signal: Google confirmed in 2014 that HTTPS is a positive ranking signal. All else being equal between two pages an HTTPS page ranks higher than its HTTP equivalent. The advantage is modest, described as a tiebreaker rather than a dominant factor, but in competitive niches where rankings are close every signal matters.

Link juice and SEO equity: links from HTTPS pages pass their equity more reliably than links from HTTP pages. A backlink from an HTTPS site carries its full value. A backlink from an HTTP site may carry slightly reduced value, not as a penalty but as a reflection that HTTPS signals are treated as a quality indicator.

User trust signals: the browser “Not Secure” warning displayed for HTTP pages deters visitors, particularly on pages where they might enter information. Lower engagement rates, higher bounce rates, and reduced time on site from security-averse visitors create negative engagement signals that indirectly affect rankings.

Mixed content warnings: HTTPS pages that load resources, images, scripts, stylesheets, from HTTP sources display mixed content warnings in browsers. Mixed content degrades user experience and browser security, partially negating the benefits of HTTPS. All resources on HTTPS pages should be loaded over HTTPS.

Referrer data preservation: HTTPS-to-HTTPS referrer data is preserved in analytics, the referrer header is transmitted. HTTPS-to-HTTP referrer data is dropped, the browser does not send the referrer header when navigating from a secure to an insecure page. Websites that still serve HTTP traffic lose attribution data for visitors from HTTPS sources, affecting analytics accuracy.

HTTPS and redirects

The intersection of HTTPS and redirect management is fundamental, understanding it correctly is essential for anyone configuring redirects for domains.

HTTP to HTTPS redirect: the most universal redirect configuration on the web. Every domain serving HTTPS content should permanently redirect all HTTP traffic to its HTTPS equivalent. http://example.com/page redirects to https://example.com/page. This ensures all visitors, regardless of whether they type HTTP or HTTPS, reach the secure version. The redirect must cover all HTTP URLs, not just the homepage.

The HTTP to HTTPS redirect is implemented at the server or infrastructure level, the server listening on port 80 receives HTTP requests and returns 301 redirects to the HTTPS equivalent URL. The HTTPS server on port 443 serves the actual content.

SSL on redirect source domains: any domain configured as a redirect source must have a valid SSL certificate. When a visitor types https://redirect-source.com the browser establishes an HTTPS connection before receiving the redirect response. Without an SSL certificate on the redirect source domain the TLS handshake fails and the browser displays a certificate error, the visitor never receives the redirect.

This requirement affects domain parking, brand protection domains, and any other redirect source. A registrar’s basic domain forwarding service typically does not provide SSL on forwarded domains, creating certificate errors for HTTPS visitors. Dedicated redirect management platforms that automatically provision SSL for all connected domains resolve this issue.

HSTS after HTTPS enforcement: HTTP Strict Transport Security is the next step after implementing HTTP-to-HTTPS redirects. HSTS instructs browsers to automatically upgrade all future requests to HTTPS, eliminating the HTTP request entirely rather than relying on the redirect. With HSTS in place a visitor who types http://example.com never sends an HTTP request, the browser upgrades to HTTPS before the request leaves the device.

Redirect chains from HTTP/HTTPS handling: a common redirect chain source is handling HTTP-to-HTTPS as one redirect and www-to-non-www as a separate redirect. http://www.example.com redirects to https://www.example.com then redirects to https://example.com: two hops. Both conditions should be handled in a single redirect, http://www.example.com redirecting directly to https://example.com in one hop.

HTTPS deployment

Deploying HTTPS requires obtaining and installing an SSL certificate, configuring the web server to use it, and redirecting HTTP traffic to HTTPS.

Obtaining an SSL certificate: SSL certificates are issued by certificate authorities. Let’s Encrypt provides free SSL certificates through an automated process, the most accessible option for most websites. Commercial certificate authorities, DigiCert, Sectigo, GlobalSign, offer paid certificates with additional features like extended validation or organisation validation indicators.

The certificate must be issued for the specific domains that will be served over HTTPS. A certificate for example.com covers the root domain. A wildcard certificate for *.example.com covers all subdomains. A multi-domain SAN certificate covers multiple specific domains and subdomains in one certificate.

Server configuration: after obtaining the certificate install it on the web server, Apache, Nginx, or another server. Configure the server to listen on port 443 for HTTPS connections and present the certificate during TLS handshakes. Redirect all port 80 HTTP traffic to HTTPS.

Certificate renewal: SSL certificates have validity periods, typically 90 days for Let’s Encrypt certificates and one to two years for commercial certificates. Certificates must be renewed before expiry, an expired certificate causes browser certificate errors identical to a missing certificate. Automated renewal through ACME clients, Certbot, acme.sh, handles Let’s Encrypt renewal automatically without manual intervention.

Testing HTTPS configuration: SSL Labs’ SSL Test at ssllabs.com/ssltest analyses HTTPS configurations and provides detailed reports on certificate validity, TLS protocol support, cipher suite strength, and configuration issues. Running the SSL Labs test after deployment identifies configuration problems before they affect visitors.

HTTPS common issues

Certificate expiry: the most common HTTPS failure. A certificate that was not renewed before its expiry date causes browser errors for all HTTPS visitors. Automated renewal eliminates expiry risk for certificates managed through ACME clients. Monitoring services that alert when certificates approach expiry provide a safety net.

Mixed content warnings: HTTPS pages loading HTTP resources, images, scripts, stylesheets, trigger mixed content warnings in browsers. Modern browsers block active mixed content, scripts and iframes loaded over HTTP, entirely. Audit all resource URLs after HTTPS deployment to ensure everything loads over HTTPS.

Certificate name mismatch: a certificate valid for www.example.com but not for example.com: or vice versa, causes certificate errors when the uncovered domain is accessed. Ensure certificates cover all domain variants that will be accessed, both the root domain and www subdomain.

Redirect to HTTP destination: a redirect source on HTTPS that redirects to an HTTP destination undermines the security purpose. Visitors arrive securely at the redirect source but are sent to an insecure destination. All redirect destinations should be HTTPS URLs.

Old HTTP links in content: internal links hardcoded as HTTP rather than HTTPS after HTTPS deployment create unnecessary redirect hops, each HTTP internal link redirects to its HTTPS equivalent before the page loads. Update all internal links to HTTPS after deploying HTTPS.

Related terms

Related terms

Ready to keep every link alive?

Ready to keep every link alive?

Ready to keep every link alive?