# Use HTTPS everywhere

- Check 09.01 · Security and infrastructure · Critical
- Source: https://checklist-seo-geo.com/en/security-infrastructure/use-https-everywhere
- Serve every page, file, subdomain and API over HTTPS with a valid certificate, on Apache, Nginx, Cloudflare, AWS, Plesk, cPanel, WordPress or Shopify.
- Updated on 2026-11-25
- Licence: CC BY 4.0. Credit “Checklist SEO & GEO” with a link to https://checklist-seo-geo.com/en/security-infrastructure/use-https-everywhere.
- Plugin checklist-seo-geo: 1.3.1 · https://github.com/maximegaul/checklist-seo-geo

## In short

HTTPS encrypts the exchange between the browser and the server using a TLS (Transport Layer Security) certificate. Using HTTPS everywhere means that every URL on the site responds over HTTPS with a valid certificate: pages, images, scripts, feeds, APIs, public subdomains and related tools (blog, store, customer area). Once this is done, no public resource loads over HTTP any more and every hostname of the site presents a certificate that browsers recognize.

## Why it matters

Without HTTPS, everything that travels between the visitor and the site can be read or modified along the way: forms, session cookies, but also the HTML itself, into which a public Wi-Fi network or an intermediary can inject ads or scripts.

Chrome shows “Not secure” on HTTP pages and, since October 2026, asks for the user's consent before opening a public site over HTTP: the “Always use secure connections” setting is now enabled by default. A site still on HTTP therefore shows a warning screen on the first visit.

On the search engine side, Google announced as early as 2014 that HTTPS was a ranking signal, a very light one. Its current page experience documentation states that only Core Web Vitals are used by its ranking systems and that the other aspects, HTTPS included, do not directly help a page rank better. The concrete effect lies elsewhere: when a page exists over both HTTP and HTTPS, Google generally picks HTTPS as the canonical version, unless the certificate is invalid or the HTTPS version redirects to HTTP. An expired or incomplete certificate therefore gets the wrong version indexed.

Generative engines and their crawlers fetch pages like any HTTP client: an invalid certificate makes the request fail, and the page is neither read nor cited.

## What it improves

- **Trust and conversion**: no more “Not secure” warning or confirmation screen before reaching the site.
- **Visitor security**: forms, logins and payments are encrypted; content cannot be modified in transit.
- **Indexing**: a single version of each page, the HTTPS one, selected as canonical.
- **Browser features**: HTTP/2 and HTTP/3, service workers, geolocation, notifications and payments only work in a secure context.
- **Citations in AI answers**: indirect effect. HTTPS does not get a page cited, but a faulty certificate prevents crawlers from fetching it.
- **Rankings**: small or no direct effect according to Google's current documentation.

## How to check

Start with the home page, then every hostname the site uses (`www`, bare domain, `blog.`, `boutique.`, `api.`, `cdn.`):

```bash
for h in example.com www.example.com blog.example.com; do
  printf "%-22s " "$h"
  echo | openssl s_client -connect "$h:443" -servername "$h" 2>/dev/null | openssl x509 -noout -enddate 2>/dev/null || echo "no certificate"
done
```

Compliant result: each line shows `notAfter=` followed by a future date.

Then check that the certificate covers the requested name and is recognized:

```bash
curl -sS -o /dev/null -w "%{http_code} %{ssl_verify_result}\n" https://www.example.com/
```

`200 0` is compliant: `0` means the certificate chain is valid. An `SSL certificate problem` or `no alternative certificate subject name matches` error indicates a certificate that is missing, expired or does not cover that name.

Other checks:

- **Search Console**: in a domain property, the HTTPS report (Experience section) lists the URLs indexed over HTTP and the reason their HTTPS version was not selected: invalid certificate, canonical pointing to HTTP, sitemap in HTTP, redirect from HTTPS to HTTP or blocking by robots.txt.
- **Subdomain inventory**: Certificate Transparency logs list every certificate issued for your domain. Search for `%.example.com` on crt.sh to find forgotten subdomains.

## How to implement

### Before you start

1. **Take inventory** of every public hostname: the site, `www`, content subdomains, image CDN, APIs, white-label third-party tools (help center, hosted blog, status page).
2. **Choose the certificate type.** A domain-validated (DV) certificate, free with Let's Encrypt or provided by the host, is enough for a website: paid organization-validated certificates bring no visible benefit in current browsers or in search.
3. **Cover every name**: a multi-domain certificate (`example.com` and `www.example.com`) or a wildcard certificate (`*.example.com`, which requires DNS validation and does not cover the bare domain on its own).
4. **Automate renewal** from installation onward: the maximum lifetime of public certificates is dropping in stages down to 47 days in 2029. See [check SSL/TLS and automatic renewal](https://checklist-seo-geo.com/en/security-infrastructure/check-ssl-tls-automatic-renewal).
5. **Then move on** to the redirect, mixed content and HSTS, in that order.

> **Warning:** do not enable HSTS (HTTP Strict Transport Security) at the same time as HTTPS. Wait until every subdomain serves a valid certificate and the redirects are stable, otherwise visitors will be blocked with no way to bypass the error.

### Apache

Versions: Apache 2.4, Certbot 2 and later.

On a Debian or Ubuntu server, Certbot obtains the Let's Encrypt certificate and writes the HTTPS virtual host:

```bash
sudo apt install certbot python3-certbot-apache
sudo certbot --apache -d example.com -d www.example.com
```

Certbot creates a `/etc/apache2/sites-available/example.com-le-ssl.conf` file equivalent to:

```apache
<VirtualHost *:443>
    ServerName www.example.com
    ServerAlias example.com
    DocumentRoot /var/www/example

    SSLEngine on
    SSLCertificateFile /etc/letsencrypt/live/example.com/fullchain.pem
    SSLCertificateKeyFile /etc/letsencrypt/live/example.com/privkey.pem
    Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
```

Always use `fullchain.pem`, which contains the intermediate certificates: without them, curl and many crawlers refuse the connection. Reload with `sudo apachectl configtest && sudo systemctl reload apache2`.

### Nginx

Versions: Nginx 1.25.1 and later (note for earlier versions), Certbot 2 and later.

```bash
sudo apt install certbot python3-certbot-nginx
sudo certbot --nginx -d example.com -d www.example.com
```

Equivalent configuration, in `/etc/nginx/sites-available/example.com`:

```nginx
server {
    listen 443 ssl;
    listen [::]:443 ssl;
    http2 on;
    server_name www.example.com example.com;

    ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;
    include /etc/letsencrypt/options-ssl-nginx.conf;

    root /var/www/example;
}
```

On a version of Nginx earlier than 1.25.1, write `listen 443 ssl http2;` and remove `http2 on;`. Reload with `sudo nginx -t && sudo systemctl reload nginx`.

### LiteSpeed

Versions: OpenLiteSpeed 1.8 and 1.9 (automatic issuance from 1.9), LiteSpeed Web Server 6.

In the WebAdmin console, on the `SSL` tab of the port 443 listener or of the virtual host, fill in the private key file and the certificate file (`fullchain.pem`). From version 1.9, OpenLiteSpeed can also obtain and renew certificates itself through ACME: run `/usr/local/lsws/admin/misc/install_acme.sh`, set “AutoCert with ACME” in `Server Configuration > Tuning > SSL Global Settings` (or on the virtual host's `SSL` tab), declare the domains in the secure listener and keep an HTTP listener on port 80 for validation, then do a graceful restart. On version 1.8, use Certbot in webroot mode. On LiteSpeed hosting with cPanel, see the cPanel section.

### Caddy

Versions: Caddy 2.

HTTPS is automatic: Caddy obtains and renews certificates for every name declared in the `Caddyfile`, provided the DNS points to the server and ports 80 and 443 are open.

```txt
example.com, www.example.com {
    root * /var/www/example
    file_server
}
```

### IIS

Versions: IIS 10 (Windows Server 2016 to 2025), win-acme 2.2 and later.

IIS does not support Let's Encrypt natively. Use an ACME client for Windows such as win-acme, which creates the certificate, attaches it to the site's HTTPS binding and schedules its renewal in Task Scheduler. Then check in IIS Manager, under the site's `Bindings...`, that an `https` binding on port 443 uses this certificate, with the “Require Server Name Indication” option if several sites share the IP address.

### Cloudflare

Versions: Cloudflare dashboard, all plans, November 2026.

Cloudflare provides a free edge certificate (Universal SSL) for the domain and its proxied first-level subdomains. You also need to encrypt the path between Cloudflare and your server:

1. In [`SSL/TLS > Overview`](https://dash.cloudflare.com/?to=/:account/:zone/ssl-tls), the default “Automatic SSL/TLS” mode chooses the encryption to the origin by itself. To enforce it, switch to “Custom SSL/TLS” and choose “Full (strict)”. “Flexible” mode leaves the path to the origin over HTTP: the visitor sees a padlock, but the data travels unencrypted behind Cloudflare.
2. If the origin has no public certificate, create a Cloudflare origin certificate (`SSL/TLS > Origin Server`) and install it on the server. Only Cloudflare recognizes it: it works with “Full (strict)” mode but not for direct access.
3. Check in the DNS tab that every public name is proxied (orange cloud). A “DNS only” record serves your server's certificate, not Cloudflare's.

Second-level subdomains (`a.b.example.com`) are not covered by Universal SSL.

### AWS

Versions: AWS console (ACM, CloudFront, Elastic Load Balancing, S3, Amplify Hosting), November 2026.

- **CloudFront**: request a public certificate in AWS Certificate Manager (ACM), in the `us-east-1` region, with DNS validation. Declare the names under the distribution's “Alternate domain names (CNAMEs)” and select the certificate. Set the viewer protocol policy to “Redirect HTTP to HTTPS”.
- **Application Load Balancer**: ACM certificate in the load balancer's region, HTTPS:443 listener with a recent security policy (`ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09`, offered by default in the console).
- **S3**: an S3 static website does not serve HTTPS on a custom domain; put CloudFront in front of it.
- **Amplify Hosting**: certificate managed automatically when the domain is added.

ACM certificates renew on their own as long as the validation CNAME record stays in the DNS.

### Google Cloud

Versions: Google Cloud console (Cloud Load Balancing, Certificate Manager, Cloud Run, Firebase Hosting, App Engine), November 2026.

On an external Application Load Balancer, use a Google-managed certificate (or Certificate Manager) for each name, then attach it to the target HTTPS proxy. Cloud Run, Firebase Hosting and App Engine provide certificates for custom domains automatically.

### Azure

Versions: Azure portal (App Service, Front Door), November 2026.

On App Service, add the custom domain, then create an App Service managed certificate (free, renewed automatically) and bind it with SNI SSL. Enable “HTTPS Only” in the app's configuration. Azure Front Door provides managed certificates for custom domains.

### Plesk

Versions: Plesk Obsidian 18.0, SSL It! extension.

Open `Websites & Domains > your domain > SSL/TLS Certificates` (SSL It! extension), then install a free Let's Encrypt certificate, ticking the domain with and without `www`, and webmail if needed. The “Keep websites secured” option automatically replaces expired or self-signed certificates with Let's Encrypt certificates. The 301 redirect from HTTP to HTTPS is set in the same place.

### cPanel

Versions: cPanel & WHM 110 and later, Jupiter theme.

Open `Security > SSL/TLS Status` ([cPanel documentation](https://docs.cpanel.net/cpanel/security/ssl-tls-status/)). If the host has enabled AutoSSL, every domain and subdomain receives a free certificate that renews automatically; click “Run AutoSSL” to force issuance after adding a domain. A domain that remains without a certificate usually has DNS that does not point to the server.

### Shared hosting

With OVHcloud, o2switch, Infomaniak, Ionos or Hostinger, a free Let's Encrypt certificate is enabled from the customer area, usually in the domain or hosting management, with a checkbox for `www`. Allow from a few minutes to a few hours after the DNS update.

### Vercel

Versions: Vercel platform, all plans, November 2026.

Automatic: Vercel issues certificates for the domains added to the project and redirects HTTP to HTTPS with a 308, and this redirect cannot be disabled.

### Netlify

Versions: Netlify platform, all plans, November 2026.

Automatic: Netlify creates and renews a Let's Encrypt certificate for each custom domain. An imported custom certificate does not renew by itself.

### WordPress

Versions: WordPress 5.7 and later.

Once the certificate is active on the server, switch the site address to HTTPS:

1. When HTTPS is available, `Tools > Site Health` offers a button that updates the WordPress Address and the Site Address to HTTPS. Otherwise, edit both fields in `Settings > General`.
2. Replace the `http://` URLs stored in the database: see [fix mixed content](https://checklist-seo-geo.com/en/security-infrastructure/fix-mixed-content).
3. Behind a proxy or CDN that terminates HTTPS, WordPress may believe it is on HTTP and loop. Add the following to `wp-config.php`, before the line “That's all, stop editing!”:

```php
if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https') {
    $_SERVER['HTTPS'] = 'on';
}
```

### Shopify

Versions: Shopify admin, all plans, November 2026.

Automatic: Shopify issues a free certificate for each domain added to the store and redirects visitors to the encrypted version. For a connected third-party domain, issuance can take up to 48 hours; if the status stays pending or in error, check the DNS records on the [Domains page of the admin](https://admin.shopify.com/settings/domains). Wix, Squarespace and Webflow also provide certificates automatically.

### Laravel

Versions: Laravel 10 to 13.

Set `APP_URL=https://www.example.com` in `.env`. Behind a load balancer or CDN, declare the trusted proxies, otherwise `url()`, `route()` and `asset()` generate `http://` links. Restrict the list to your proxies' addresses when you know them.

#### Laravel 11 to 13

In `bootstrap/app.php`:

```php
->withMiddleware(function (Middleware $middleware): void {
    $middleware->trustProxies(at: '*');
})
```

As a last resort, `URL::forceHttps(app()->isProduction());` in `AppServiceProvider::boot()` forces the scheme of generated URLs.

#### Laravel 10

In `app/Http/Middleware/TrustProxies.php`, set the `$proxies` property:

```php
protected $proxies = '*';
```

As a last resort, add the following to `AppServiceProvider::boot()`:

```php
if (app()->isProduction()) {
    URL::forceScheme('https');
}
```

### Next.js

Versions: Next.js 15 and 16 (App Router).

Next.js does not manage certificates itself in production: that is the job of the platform (Vercel, Netlify) or of the reverse proxy in front of `next start` (Nginx, Caddy, load balancer). Check that the absolute URLs you build (`metadataBase`, sitemap, canonical) use `https://`.

## Common mistakes

- **Forgetting a hostname**: the bare domain, `www` or a subdomain without a certificate shows an error before the redirect even happens.
- **Installing the certificate without its intermediate chain**: the site displays in desktop Chrome, but curl, crawlers and some mobile devices refuse the connection.
- **Cloudflare “Flexible” mode**: padlock shown, unencrypted path to the origin, and redirect loops as soon as the origin forces HTTPS.
- **Leaving HTTP responding with 200**: without a redirect, both versions coexist. See [redirect HTTP to HTTPS](https://checklist-seo-geo.com/en/security-infrastructure/redirect-http-https).
- **Canonical, sitemap or internal links still on `http://`**: Google receives contradictory signals and may keep the HTTP version.
- **Manual renewal**: a certificate installed by hand always ends up expiring on a weekend.
- **Ignoring secondary subdomains**: a help center or status page on HTTP will later prevent you from enabling HSTS on the whole domain.

## Frequently asked questions

### Is HTTPS a Google ranking factor?

HTTPS was announced as a very light ranking signal in 2014, and Google's current documentation states that, among the aspects of page experience, only Core Web Vitals are used by its ranking systems. The real stake lies elsewhere: with a valid certificate, Google selects the HTTPS version as canonical, and visitors no longer see a “Not secure” warning or a confirmation screen in Chrome.

### Is a free Let's Encrypt certificate enough for a business website?

Yes. A domain-validated Let's Encrypt certificate encrypts the connection exactly like a paid certificate and is recognized by every current browser. Paid organization-validated certificates bring no visible indicator in browsers and no advantage in search. The only point to watch is renewal, which must be automated, as for any certificate.

### Should a brochure site with no forms or payments switch to HTTPS?

Yes. HTTPS also prevents pages from being modified in transit, for example ads injected on a public Wi-Fi network, and Chrome now asks for the visitor's consent before opening a public site over HTTP. A brochure site on HTTP therefore shows a warning screen from the first visit, which drives some visitors away, and it remains exposed to duplicate versions being indexed.

### Does switching to HTTPS cause a loss of traffic?

Not if it is done correctly. Google treats the switch from HTTP to HTTPS as a site move: with page-to-page 301 redirects, and with canonicals, sitemap and internal links on HTTPS, rankings carry over to the new URLs. The Search Console Change of Address tool is not needed for this type of move. Any fluctuations settle while the site is recrawled.

## Resources

- [Google Search Central: Understanding page experience](https://developers.google.com/search/docs/appearance/page-experience?hl=en)
- [Search Console Help: HTTPS report](https://support.google.com/webmasters/answer/11396518?hl=en)
- [Google Search Central: Site moves with URL changes](https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes?hl=en)
- [web.dev: Enabling HTTPS](https://web.dev/articles/enable-https)
- [Google Blog: Chrome now warns before insecure HTTP connections](https://blog.google/security/chrome-now-warns-before-insecure-http-connections/)
- [Let's Encrypt: documentation](https://letsencrypt.org/docs/) and [Certbot](https://certbot.eff.org/)
- [Cloudflare: SSL/TLS encryption modes](https://developers.cloudflare.com/ssl/origin-configuration/ssl-modes/)
- [AWS Certificate Manager: Managed renewal](https://docs.aws.amazon.com/acm/latest/userguide/managed-renewal.html)
- [Shopify: TLS certificates](https://help.shopify.com/en/manual/domains/ssl)

Next steps: [redirect HTTP to HTTPS](https://checklist-seo-geo.com/en/security-infrastructure/redirect-http-https), [fix mixed content](https://checklist-seo-geo.com/en/security-infrastructure/fix-mixed-content) and [check SSL/TLS and automatic renewal](https://checklist-seo-geo.com/en/security-infrastructure/check-ssl-tls-automatic-renewal).
