---
title: Enable TLS key logging
description: A flag to enable TLS key logging to troubleshoot TLS issues between the agent and AM.
component: web-agents
version: 2025.11
page_id: web-agents:properties-reference:org.forgerock.agents.config.tls.keylog.enable
canonical_url: https://docs.pingidentity.com/web-agents/2025.11/properties-reference/org.forgerock.agents.config.tls.keylog.enable.html
---

# Enable TLS key logging

|   |                                                                                                                                  |
| - | -------------------------------------------------------------------------------------------------------------------------------- |
|   | Only enable TLS key logging when advised by Support. After troubleshooting, disable key logging and remove the SSL key log file. |

A flag to enable TLS key logging to troubleshoot TLS issues between the agent and AM.

* `true`: Enable TLS key logging. If you enable TLS key logging, you must specify the name of the SSL key log file in the AM\_SSL\_KEYLOG\_FILE environment variable.

* `false`: Disable TLS key logging.

Learn more in [TLS key logging](../maintenance-guide/troubleshooting.html#tls-key-logging) in the *User Guide*.

Default: `false`

|                    |                                                                               |
| ------------------ | ----------------------------------------------------------------------------- |
| Property name      | `org.forgerock.agents.config.tls.keylog.enable`   Introduced in Web Agent 4.x |
| Function           | Debug                                                                         |
| Type               | Boolean: `true` returns true; all other strings return `false`.               |
| Bootstrap property | No                                                                            |
| Required property  | No                                                                            |
| Restart required   | No                                                                            |
