Enforce the use of HTTPS for all sites in a B2C Commerce instance. When this setting is enabled, URLs generate using the HTTPS protocol, and incoming page requests that use HTTP redirect to HTTPS. HTTP requests to Open Commerce API (OCAPI)'s session bridge aren't accepted. Also, instead of a combination of session cookies and secure tokens, secure session cookies are used, which helps avoid incorrect (false positive) session hijacking detections. Enable the Enforce HTTPS global preference to let browsers send cookies in cross-site contexts.
-
Click App Launcher
, and then select .
- On the Access Restriction tab, select Enforce HTTPS.
- Click Apply.