> 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/33/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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
