---
title: "Update OCSP configuration"
method: PUT
path: "/v1/ocsp"
tags: ["Cluster"]
---

# Update OCSP configuration

`PUT /v1/ocsp`

Set or update the OCSP configuration for the cluster

## Request body

- OcspConfig — OCSP configuration
  - `ocsp_functionality` boolean — Whether to enable/disable OCSP for the cluster.
  - `query_frequency` integer — Determines the interval (in seconds) in which the control plane will poll the OCSP responder for a new status for the server certificate.
  - `recovery_frequency` integer — Determines the interval (in seconds) in which the control plane will poll the OCSP responder for a new status for the server certificate when the current staple is invalid.
  - `recovery_max_tries` integer — Determines the maximum number for the OCSP recovery attempts. After max number of tries passed, the control plane will revert back to the regular frequency.
  - `responder_url` string — The OCSP server url embedded in the proxy certificate (if available)
  - `response_timeout` integer — Determines the time interval (in seconds) for which the request waits for a response from the OCSP responder.

## Response `200`

OCSP configuration

- OcspConfig — OCSP configuration
  - `ocsp_functionality` boolean — Whether to enable/disable OCSP for the cluster.
  - `query_frequency` integer — Determines the interval (in seconds) in which the control plane will poll the OCSP responder for a new status for the server certificate.
  - `recovery_frequency` integer — Determines the interval (in seconds) in which the control plane will poll the OCSP responder for a new status for the server certificate when the current staple is invalid.
  - `recovery_max_tries` integer — Determines the maximum number for the OCSP recovery attempts. After max number of tries passed, the control plane will revert back to the regular frequency.
  - `responder_url` string — The OCSP server url embedded in the proxy certificate (if available)
  - `response_timeout` integer — Determines the time interval (in seconds) for which the request waits for a response from the OCSP responder.

## Other responses

- `400` — Bad Request
- `406` — Not Acceptable
- `500` — Internal Server Error

## Changes

- **2026-03-03** `fa04a65ac607` — 1 info
  - endpoint added
- **2026-01-23** `9fdf3bc7ad77` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/redis/apis/redis-software-rest-api/changes/v1/ocsp/put.md)

---

[API](https://skmtc.dev/redis/apis/redis-software-rest-api.md) · [All operations](https://skmtc.dev/redis/apis/redis-software-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/redis/redis-software-rest-api/revisions/caec2005b95b/schema)
