---
title: Transmit Cookies Securely
description: When true, all cookies written by the agent are secure. For backward compatibility, the default is false.
component: java-agents
version: 2025.11
page_id: java-agents:properties-reference:org.forgerock.agents.secure.cookies.enabled
canonical_url: https://docs.pingidentity.com/java-agents/2025.11/properties-reference/org.forgerock.agents.secure.cookies.enabled.html
---

# Transmit Cookies Securely

When `true`, all cookies written by the agent are secure. For backward compatibility, the default is `false`.

|                          |                                                                                                                                                                                                                                                                                                     |
| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Property name            | `org.forgerock.agents.secure.cookies.enabled`                                                                                                                                                                                                                                                       |
| Aliases                  | `com.sun.identity.agents.config.cdsso.secure.enable`   Introduced in Java Agent 5.0   [Recognized](preface.html#how_am_manages_multiple_aliases) from AM 6`org.forgerock.agents.secure.cookies.enabled`   Introduced in Java Agent 5.6`com.iplanet.am.cookie.secure`   Introduced in Java Agent 5.0 |
| Function                 | Cross-domain single sign-on                                                                                                                                                                                                                                                                         |
| Type                     | Boolean: `true` returns true; all other strings return `false`.                                                                                                                                                                                                                                     |
| Default                  | `false`                                                                                                                                                                                                                                                                                             |
| Bootstrap property       | No                                                                                                                                                                                                                                                                                                  |
| Required property        | No                                                                                                                                                                                                                                                                                                  |
| Restart required         | No                                                                                                                                                                                                                                                                                                  |
| Local configuration file | `AgentConfig.properties`                                                                                                                                                                                                                                                                            |
| AM console               | Tab: `SSO`Title: `Transmit Cookies Securely`Legacy title: `CDSSO Secure Enable`                                                                                                                                                                                                                     |
