OCSP 状态请求
OCSP 状态请求
Redis 企业软件 |
---|
方法 | 路径 | 描述 |
---|---|---|
获取 | /v1/ocsp/status |
获取 OCSP 状态 |
获取 OCSP 状态
GET /v1/ocsp/status
获取代理证书的 OCSP 响应的最新缓存状态。
所需权限
权限名称 |
---|
view_ocsp_status |
请求
HTTP 请求示例
GET /v1/ocsp/status
请求标头
钥匙 | 价值 | 描述 |
---|---|---|
主机 | cnm.cluster.fqdn 中 | 域名 |
接受 | 应用程序/JSON | 接受的媒体类型 |
响应
返回 OCSP 状态对象。
示例 JSON 正文
{
"responder_url": "http://responder.ocsp.url.com",
"cert_status": "REVOKED",
"produced_at": "Wed, 22 Dec 2021 12:50:11 GMT",
"this_update": "Wed, 22 Dec 2021 12:50:11 GMT",
"next_update": "Wed, 22 Dec 2021 14:50:00 GMT",
"revocation_time": "Wed, 22 Dec 2021 12:50:04 GMT"
}
Error codes
When errors occur, the server returns a JSON object with error_code
and message
fields that provide additional information. The following are possible error_code
values:
Code
Description
ocsp_unsupported_by_capability
Not all nodes support OCSP capability
invalid_ocsp_response
The server returned a response that is not OCSP-compatible
Status codes
Code
Description
200 OK
Success
406 Not Acceptable
Feature not supported in all nodes
On this page