How to enable secure cookies in AEM

Last update: 2023-10-27

If your AEM installation requires cookies be flagged with secure attribute, enable via the Web Console Configuration Manager.

Description

Environment
Adobe Experience Manager 6.x

Issue
If your AEM installation requires that all cookies be flagged with secure attribute, then you can enable that via the Web Console Configuration Manager.

Resolution

Solution
To set all cookies be flagged with the secure attribute with the Web Console Configuration Manager, follow these steps:

  1. Open http://host:port/system/console/configMgr/org.apache.felix.http.
  2. Enable the property Session Cookie secure.
  3. Click Save.

On this page