CERTIFICATE_NOT_ACCEPTED
Client certificate not accepted: what the CERTIFICATE_NOT_ACCEPTED error means and how to fix it.
HTTP 422. Problem type: https://docs.ovok.com/errors/certificate-not-accepted.
What this means
Ovok could not register the certificate you sent as one of the project's client certificates. The message says why: the body holds no PEM certificate, it is a CA certificate, it is not valid now, it is not for client authentication, or no CA Ovok trusts issued it. Nothing was registered.
Troubleshooting
- Send the certificate itself, PEM-encoded, in
certificate. Never send its private key. - Check its dates and usage with
openssl x509 -in client.crt -noout -dates -ext extendedKeyUsage. A client certificate needsTLS Web Client Authentication, or no extended key usage at all. - Get the certificate issued by the CA your Ovok environment trusts. Ask Ovok which one that is.
Retry safely
Retry with a corrected certificate. An unchanged request returns the same error.
If the problem persists
Share the HTTP status, problem type, request path, response timestamp and traceId with your administrator or support contact. Remove access tokens, provider secrets and patient data first. The Error responses guide explains the response fields, and the machine-code registry lists every endpoint-specific type.
Last updated on