errors.fyi community error code reference
X509_V_ERR_INVALID_PURPOSE
openssl

Invalid certificate purpose

The certificate is not valid for the intended purpose (e.g. a CA cert used for TLS server auth).

References

โ† all namespaces for X509_V_ERR_INVALID_PURPOSE