-
Notifications
You must be signed in to change notification settings - Fork 137
KRA Generate Key REST API
Endi S. Dewata edited this page Aug 22, 2021
·
2 revisions
-
Method:
POST
-
Path:
/kra/rest/agent/keyrequests
JSON
$ curl \ -k \ -s \ --user kraadmin:Secret.123 \ -X POST \ -d @- \ -H "Content-Type: application/json" \ -H "Accept: application/json" \ https://localhost.localdomain:8443/kra/rest/agent/keyrequests << EOF | python -m json.tool { "Attributes": { "Attribute": [ { "name": "clientKeyID", "value": "test" }, { "name": "keyAlgorithm", "value": "RSA" }, { "name": "keySize", "value": "1024" }, { "name": "keyUsage", "value": null } ] }, "ClassName": "com.netscape.certsrv.key.AsymKeyGenerationRequest" } EOF { "requestInfo": { "requestType": "asymkeyGenRequest", "requestStatus": "complete", "requestURL": "https://localhost.localdomain:8443/kra/rest/agent/keyrequests/1", "keyURL": "https://localhost.localdomain:8443/kra/rest/agent/keys/1", "keyId": 1, "requestId": "0x1" }, "keyId": 1, "requestId": "0x1" }
Tip
|
To find a page in the Wiki, enter the keywords in search field, press Enter, then click Wikis. |