Get cluster SSL certificate details

The ServiceProviderAPI (Service Provider API) Api-Token scope is required to get the default realm password policy configuration using the Dynatrace API.

Endpoint

/api/v1.0/onpremise/sslCertificate

Parameter

Parameter Type Description In Required
entityType string

entity type, possible values = "SERVER, COLLECTOR"

path required
entityId integer

Node ID, which can be extracted from the URL in 'Node details' view.

path required

Response

Response codes

Code Description
200

Success

500

Internal server error.

Response body

The SSLDetails object

Element Type Description
expirationDate string
customKeyStore boolean
customKeyStoreWritable boolean
restartRequired boolean
inProgress boolean
issuer string
subject string
default boolean

Example

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

curl -X GET "https://myManaged.cluster.com/api/v1.0/onpremise/sslCertificate/SERVER/32" -H  "accept: application/json" -H  "Authorization: Api-Token abcdefjhij1234567890"

Request URL

https://myManaged.cluster.com/api/v1.0/onpremise/sslCertificate/SERVER/32

Response body

{
  "issuer": "EV SSL Intermediate CA RSA",
  "subject": "n32.myManaged.cluster.com",
  "expirationDate": 1615956886000,
  "customKeyStore": false,
  "customKeyStoreWritable": true,
  "inProgress": false,
  "restartRequired": false,
  "default": false
}

Response code

200