This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to create user certificate with REST API

Hello,

I can display user certificates with REST API. Now I would like to create one. Unfortunately the documentation does not explain the purpuse of the different parameters. For example what does  "keyAlgorithm": 1 mean? or "keyUsage": 40960. and so on.
I tried to copy and paste the example mentioned in the documentation. On the /pki/userCertificates/createCertificates url I receive "Could not decode LDAP Extension packet", on the /pki/userCertificates/createCertificate url I receive "PKI Internal error". There is nothing useful in the container logs.
Where can I find a detailed explanation on what these parameters mean? What is the correct url?

Regards,
Gellert

Tags: