Get Certificate Settings for Prisma Cloud Compute
GET/api/v32.07/settings/certs
x-prisma-cloud-target-env: {"permission":"manageDefenders"}
Returns the Subject Alternative Name(s) (SANs) in Console's certificate. Defenders use these names to connect to Console.
cURL Request
Refer to the following example cURL request that uses basic auth to retrieve the SANs in Console's cert:
curl -k \
-u <USER> \
-H 'Content-Type: application/json' \
-X GET \
"https://<CONSOLE>/api/v<VERSION>/settings/certs"
Responses
- 200
- default
CertSettings are the certificates settings
- application/json
- Schema
- Example (from schema)
Schema
caExpiration date-time
CAExpiration holds the expiration date of the CA cert.
consoleSAN string (string)[]
ConsoleSAN if specified, use this list as the SAN for the console server certificate. Used for websocket and API.
defenderOldCAExpiration date-time
DefenderOldCAExpiration holds the expiration time of the defender old CA cert.
{
"caExpiration": "2024-07-29T15:51:28.071Z",
"consoleSAN": [
"string"
],
"defenderOldCAExpiration": "2024-07-29T15:51:28.071Z"
}
Loading...