> For the complete documentation index, see [llms.txt](https://docs.prismacloud.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.prismacloud.io/admin-guide/configure/user-cert-validity-period.md).

# User certificate validity period

User certificates identify a user, and are used to enforce access control policies. You can control how long user certificates are valid. By default, user certificates are valid for 365 days.

## Configuring the validity period of user certificates

Configure the validity period of user certs.

1. Open Console.
2. Go to **Manage > Authentication > Certificates**.
3. Under **Configuration**, enter a new value for **Number of days until expiration of certificate**.
4. Click **Save**.

## Expired user certificates

The following message is printed when you try to authenticate with an expired certificate. This example command tries to run `docker ps` on a remote host named prod\_host1.

```
$ docker --tlsverify -H prod_host1:9998 ps
The server probably has client authentication (--tlsverify) enabled.
Please check your TLS client certification settings
```

## Generating new certificates

When your certificates expire, you can generate new ones.

1. Go to Console.
2. Log in with your credentials to reauthenticate with Console. This step generates fresh certificates.
   * If you integrated Prisma Cloud with LDAP, log in with your LDAP credentials.
   * If you integrated with SAML, log in with your SAML credentials.
   * If you are using Prisma Cloud users, log in with your Prisma Cloud user credentials.
3. On the left menu, click **Manage > Authentication > User certificates**.
4. Copy the installation script, and run it on your local machine.

   The script installs fresh certificates on your machine.
5. Verify that your certs are valid by running a Docker command on a host protected by Defender.

   ```
   $ docker --tlsverify -H prod_host1:9998 ps
   ```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.prismacloud.io/admin-guide/configure/user-cert-validity-period.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
