POST Create KeyStore
Creates a keyStore on the Secure Proxy Configuration Manager.
With the createKeyStore method, you can create a keyStore on the Secure Proxy Configuration Manager.
This API method requires authentication. The authentication token generated at login must be passed in through the "X-Authentication" header.
| Method | Resource | URI | Description |
|---|---|---|---|
| POST |
keyStore |
/sspcmrest/sspcm/rest/keyStore/createKeyStore |
Creates a new keyStore on the Secure Proxy Configuration Manager |
| Parameter | Description |
|---|---|
XML |
The XML corresponding to creating a new keyStore definition within Secure Proxy Configuration Manager |
HTTP KeyStore request
The following example shows the HTTP request:
POST https://localhost:8443/sspcmrest/sspcm/rest/keyStore/createKeyStore
“X-Authentication”: “61504f4a524b48532b776a3467643733374b526368513d3d”
“X-Passphrase”: “XXXXXXX”
“Content-Type”: “application/xml”
XML corresponding to defining a keyStore
XML KeyStore response
The following example shows the XML response:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><XmlResponse>
<httpCode>200</httpCode><httpStatus>OK</httpStatus><action>None</action>
<message>Key store created successfully.</message><messageLevel>INFO</messageLevel>
<results/></XmlResponse>