mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-05 07:26:34 +00:00
Update API reference CRL docs
This commit is contained in:
@@ -203,21 +203,25 @@ openssl verify -verbose -crl_check -crl_download -CAfile chain.pem cert.pem
|
|||||||
</Step>
|
</Step>
|
||||||
<Step title="Obtaining a CRL">
|
<Step title="Obtaining a CRL">
|
||||||
In order to check the revocation status of a certificate, you can check it against the CRL of the issuing CA.
|
In order to check the revocation status of a certificate, you can check it against the CRL of the issuing CA.
|
||||||
To obtain the CRL of the CA, make an API request to the [Get CRL](/api-reference/endpoints/certificate-authorities/crl) API endpoint.
|
To obtain the CRLs of the CA, make an API request to the [List CRLs](/api-reference/endpoints/certificate-authorities/crls) API endpoint.
|
||||||
|
|
||||||
### Sample request
|
### Sample request
|
||||||
|
|
||||||
```bash Request
|
```bash Request
|
||||||
curl --location --request GET 'https://app.infisical.com/api/v1/pki/ca/<ca-id>/crl' \
|
curl --location --request GET 'https://app.infisical.com/api/v1/pki/ca/<ca-id>/crls' \
|
||||||
--header 'Authorization: Bearer <access-token>'
|
--header 'Authorization: Bearer <access-token>'
|
||||||
```
|
```
|
||||||
|
|
||||||
### Sample response
|
### Sample response
|
||||||
|
|
||||||
```bash Response
|
```bash Response
|
||||||
{
|
[
|
||||||
crl: "..."
|
{
|
||||||
}
|
id: "...",
|
||||||
|
crl: "..."
|
||||||
|
},
|
||||||
|
...
|
||||||
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
To verify a certificate against the CRL with OpenSSL, you can use the following command:
|
To verify a certificate against the CRL with OpenSSL, you can use the following command:
|
||||||
|
|||||||
Reference in New Issue
Block a user