Certificate renewal#
A certificate can be renewed at any time for an application using the following endpoint:
POST /api/v2/renew-certificate/#
Renews a certificate for the given application_uuid.
Example response:
HTTP/1.1 200 OK
Vary: Accept
Content-Type: application/json
{
"application_id": "d83da416-2f23-4f74-b366-c2682494f3f5",
"new_certificate": "-----BEGIN CERTIFICATE-----..."
}
cURL command:
curl \
-H "Content-Type: multipart/form-data" \
-H "Authorization: Bearer testJWTAccessToken" \
-F "new_certificate=@path-to-your-client-certificate.pem" \
-F "application_id=d83da416-2f23-4f74-b366-c2682494f3f5" \
https://api.psd2.holvi.com/api/v2/renew-certificate/
Status Codes:
200: Certificate renewed correctly400: Invalid certificate400: Unknown application ID400: Certificate file too big