How to enable secure cookies in AEM

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

Description 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 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.
recommendation-more-help
experience-cloud-kcs-help-kbarticles