This API call retrieves cluster SSL certificate details.
To execute this request, you need the Service Provider API (ServiceProviderAPI
) permission assigned to your API token. Generate your API token via Cluster Management Console (CMC). To learn how to obtain and use it, see Cluster API - Authentication.
/api/v1.0/onpremise/sslCertificate
entity type, possible values = "SERVER, COLLECTOR"
COLLECTOR
SERVER
Node ID, which can be extracted from the URL in 'Node details' view.
Internal server error.
SSLDetails
object{"customKeyStore": true,"customKeyStoreWritable": true,"default": true,"expirationDate": "string","inProgress": true,"issuer": "string","restartRequired": true,"subject": "string"}
In this example, you check the SSL certificate details on 32
node of the myManaged.cluster.com
cluster. In return you receive information on current SSL certificate.
curl -X GET "https://myManaged.cluster.com/api/v1.0/onpremise/sslCertificate/SERVER/32" -H "accept: application/json" -H "Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890"
https://myManaged.cluster.com/api/v1.0/onpremise/sslCertificate/SERVER/32
{"issuer": "EV SSL Intermediate CA RSA","subject": "n32.myManaged.cluster.com","expirationDate": 1615956886000,"customKeyStore": false,"customKeyStoreWritable": true,"inProgress": false,"restartRequired": false,"default": false}
200