About Force TLS

TLS (Transport Layer Security) is a protocol for secure HTTP connections that replaces its less secure predecessor—the SSL (Secure Socket Layer) protocol.

The Fastly’s Force TLS functionality allows you to force all incoming unencrypted requests for your site pages to TLS.

It works by returning a 301 Moved Permanently response to any unencrypted request, which redirects to the TLS equivalent. For instance, making a request for http://www.example.com/foo.jpeg would redirect to https://www.example.com/foo.jpeg.

Securing communications (Fastly documentation)

Affected versions

  • Adobe Commerce on cloud infrastructure:

    • version: 2.1.4 and later
    • plans: Adobe Commerce on cloud infrastructure Starter plan architecture and Adobe Commerce on cloud infrastructure Pro plan architecture (including Pro Legacy)
  • Fastly: 1.2.4

No changes needed in routes.yaml

To enable HTTP to HTTPS redirect on all pages of your store, you do not have to add the pages to the routes.yaml configuration file—enabling Force TLS globally for your entire store (using the Commerce Admin) is enough.

Previous pageHow to find Adobe Commerce product documentation
Next pageAllocate more space for MySQL in Adobe Commerce on cloud

Commerce


Connect with Experience League at Summit!

Get front-row access to top sessions, hands-on activities, and networking—wherever you are!

Learn more