Get Truststore Settings
GET /vdc/truststore/settings
Get truststore settings
Required Roles
Requires one of the following roles:
SECURITY_ADMIN
SYSTEM_ADMIN
Response Body
Truststore settings
Field |
Description |
Type |
Notes |
truststore_settings |
|
|
|
accept_all_certificates |
|
Boolean |
|
Examples
Request
GET https://192.168.0.0:4443/vdc/truststore/settings 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"?>
<truststore_settings>
<accept_all_certificates>true</accept_all_certificates>
</truststore_settings>
Request
GET https://192.168.0.0:4443/vdc/truststore/settings HTTP/1.1
Content-Type: application/json
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK
Content-Type: application/json
{
"truststore_settings": {
"accept_all_certificates": true
}
}
Request
curl -H $token -H "Content-Type: application/xml" -X GET https://$nodeIp:4443/vdc/truststore/settings
Response
HTTP/1.1 200 OK
Content-Type: application/xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<truststore_settings>
<accept_all_certificates>true</accept_all_certificates>
</truststore_settings>