Get Trusted Certificates
GET /vdc/truststore
Get the certificate chain being used by ECS
Required Roles
Requires one of the following roles:
SECURITY_ADMIN
SYSTEM_ADMIN
Response Body
Certifcate chain
Field |
Description |
Type |
Notes |
trusted_certificates |
|
|
|
certificate |
|
String |
0-* Elements
|
Examples
Request
GET https://192.168.0.0:4443/vdc/truststore HTTP/1.1
Content-Type: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK
Content-Type: application/xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<trusted_certificates/>
Request
GET https://192.168.0.0:4443/vdc/truststore HTTP/1.1
Content-Type: application/json
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK
Content-Type: application/json
{
"trusted_certificates": ""
}
Request
curl -H $token -H "Content-Type: application/xml" -X GET https://$nodeIp:4443/vdc/truststore
Response
HTTP/1.1 200 OK
Content-Type: application/xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<trusted_certificates/>