You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm starting to explore this API and i want to share some information..
To generate a new user certificate via API you need to get refid of your CA, to do that:
/api/v2/system/certificate_authority/?id=XX
The result of yout GEt gave the refid
Now you are ready to generate a new user certificate
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I'm starting to explore this API and i want to share some information..
To generate a new user certificate via API you need to get refid of your CA, to do that:
The result of yout GEt gave the refid
Now you are ready to generate a new user certificate
/api/v2/system/certificate/generate
{
"descr": "user1",
"caref": "673b6b60a1587",
"keytype": "RSA",
"keylen": 2048,
"digest_alg": "sha256",
"lifetime": 365,
"dn_commonname": "user1",
"type": "user"
}
I hope this info has been useful for people with less knowledge like me
Thanks
Beta Was this translation helpful? Give feedback.
All reactions