Validate Resource Certificates
Validate resource certificates
Domain ID
3E86FBAD-8984-4D4B-992D-F0C49857572A
Each resource must be represented only once in the array. Do not provide multiple entries for the same host using different identifiers. For example, you cannot have one entry using resourceId and a separate entry using resourceFqdn for the same resource within the same request.
[
{
"resourceId": "BE8A5E04-92A0-43F6-A166-AA041F4327CC",
"resourceFqdn": "sfo-vc01.rainpole.io",
"resourceCertificate": "-----BEGIN CERTIFICATE-----\nMIIFq...\n-----END CERTIFICATE-----",
"caCertificate": "-----BEGIN CERTIFICATE-----\nMIIFq...\n-----END CERTIFICATE-----",
"certificateChain": "-----BEGIN CERTIFICATE-----\nMIIFq...\n-----END CERTIFICATE-----\n-----BEGIN CERTIFICATE-----\nMIIFq...\n-----END CERTIFICATE-----"
}
]
Created
{
"validationId": "B1930850-7D1A-4BAA-89D7-52FD5DAD196A",
"startTimestamp": "2021-02-02T00:00:00.000Z",
"endTimestamp": "2021-02-02T00:00:00.000Z",
"completed": false,
"validations": [
{
"resourceId": "BE8A5E04-92A0-43F6-A166-AA041F4327CC",
"resourceFqdn": "sfo-vc01.rainpole.io",
"startTimestamp": "2020-01-01T00:00:00.000Z",
"endTimestamp": "2021-02-02T00:00:00.000Z",
"validationStatus": "One among: INPROGRESS, SUCCESSFUL, FAILED",
"validationMessage": "Certificate Expired"
}
]
}
Validation ID
Validation Task Start Time
Validation Task End Time
Validation Task Completed
Resource Certificate Validations
Response Headers
API to fetch certificate validation status
Not Found
{
"errorCode": "string",
"errorType": "string",
"arguments": [
"string"
],
"context": {
"context": "string"
},
"message": "string",
"remediationMessage": "string",
"causes": [
{
"type": "string",
"message": "string"
}
],
"nestedErrors": [
{
"errorCode": "string",
"errorType": "string",
"arguments": [
"string"
],
"context": {
"context": "string"
},
"message": "string",
"remediationMessage": "string",
"causes": [
{
"type": "string",
"message": "string"
}
],
"nestedErrors": [
"Error Object"
],
"referenceToken": "string"
}
],
"referenceToken": "string"
}
The minor error code
The error type
The arguments used to localize the message, Can be used by scripts to automate the error processing.
The error context (e.g. the component where it occurred).
The localized error message
The localized remediation error message
The underlying cause exceptions.
The nested errors when the error is a composite one
A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.
InternalServerError
"Error Object"
The minor error code
The error type
The arguments used to localize the message, Can be used by scripts to automate the error processing.
The error context (e.g. the component where it occurred).
The localized error message
The localized remediation error message
The underlying cause exceptions.
A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/v1/domains/{id}/resource-certificates/validations