certificate-authorities
view the approved certificate authorities
Changed onget/certificate-authorities
Request
- Base URL: /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/v1/certificate-authorities
- Auth: API key in header Authorization
Query parameters
key_usage_type'AUTHENTICATION' | 'SIGNING' enum
intended usage for the key (signing or authentication)
Example:AUTHENTICATION
return only CAs suitable for this type of key usage
include_intermediate_casboolean
if true, include also intermediate CAs. Otherwise only top CAs are included. Default value is "false".
Response
list of approved certificate authorities
Example response
[
{
"name": "X-Road Test CA CN",
"subject_distinguished_name": "C=FI, O=X-Road Test, OU=X-Road Test CA OU, CN=X-Road Test CA CN",
"issuer_distinguished_name": "C=FI, O=X-Road Test, OU=X-Road Test CA OU, CN=X-Road Test CA CN",
"ocsp_response": "IN_USE",
"not_after": "2099-12-15T00:00:00.001Z",
"top_ca": true,
"path": "C=FI, O=X-Road Test Intermediate, OU=X-Road Test CA OU, CN=X-Road Test CA CN Intermediate:C=FI, O=X-Road Test, OU=X-Road Test CA OU, CN=X-Road Test CA CN",
"certificate_profile_info": "org.example.TestCertificateInfoProvider",
"default_csr_format": "PEM",
"acme_server_ip_addresses": [
"12.34.5.6",
"AB:cd:67::89"
],
"ocsp_responders": [
{
"url": "http://dev.xroad.rocks:123",
"cost_type": "FREE"
}
]
}
]Changes
- ○
added the optional property
/to the response with the status
- ○
- ○
added the optional property
/to the response with the status
- ○