---
title: Server Certificate Trust
description: A flag to validate the certificate presented during SSL handshakes by the container where AM runs:
component: web-agents
version: 2025.11
page_id: web-agents:properties-reference:com.sun.identity.agents.config.trust.server.certs
canonical_url: https://docs.pingidentity.com/web-agents/2025.11/properties-reference/com.sun.identity.agents.config.trust.server.certs.html
---

# Server Certificate Trust

A flag to validate the certificate presented during SSL handshakes by the container where AM runs:

* `true`: The agent trusts any server certificate. By default, to facilitate integration and testing the agent is configured to trust any server certificate.

* `false`: The agent trusts AM's certificate only if found to be correct and valid.

|   |                                                           |
| - | --------------------------------------------------------- |
|   | In production environments, set this property to `false`. |

|   |                                                                                                                                                                         |
| - | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|   | If the agent cannot connect to AM, it does not allow access to any protected resource. Ensure the agent is properly configured before setting this property to `false`. |

Default: `true`

|                    |                                                                                   |
| ------------------ | --------------------------------------------------------------------------------- |
| Property name      | `com.sun.identity.agents.config.trust.server.certs`   Introduced in Web Agent 4.x |
| Function           | Encryption                                                                        |
| Type               | Boolean: `true` returns true; all other strings return `false`.                   |
| Bootstrap property | Yes                                                                               |
| Required property  | No                                                                                |
| Restart required   | No                                                                                |
