-
Notifications
You must be signed in to change notification settings - Fork 137
PKI KRA Archive Key REST API
Endi S. Dewata edited this page Aug 21, 2021
·
3 revisions
-
Method:
POST
-
Path:
/kra/rest/agent/keyrequests
JSON
Request:
$ curl \ -k \ -s \ --user kraadmin:Secret.123 \ -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": "algorithmOID", "value": "{2 16 840 1 101 3 4 1 2}" }, { "name": "clientKeyID", "value": <client key ID> }, { "name": "dataType", "value": "passPhrase" }, { "name": "keyAlgorithm", "value": "" }, { "name": "symmetricAlgorithmParams", "value": <base64-encoded data> }, { "name": "transWrappedSessionKey", "value": <base64-encoded data> }, { "name": "wrappedPrivateData", "value": <base64-encoded data> } ] }, "ClassName": "com.netscape.certsrv.key.KeyArchivalRequest" } EOF { "requestInfo": { "requestType": "securityDataEnrollment", "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. |