CreateCSRRequest
This API creates a new certificate request.
URL
<http/https>://<host-name>:<Port>/protectappws/services/rest/createCertRequest
Input Parameters
| Parameters | Description |
|---|---|
| userName | User name. |
| password | Password associated with the user. |
| keyName | RSA key. |
| cnName | Common name for the certificate. |
| countryName | Two-letter code of the country. |
| certAlias | Client certificate alias for making SSL connections (optional). |
| certPass | Password for the provided certificate alias (optional). |
Sample REST call for cxf
request
{
"CreateCSRRequest": {
"userName": "abc",
"password": "safenet@123",
"keyName": "RSA",
"cnName": "xyz",
"countryName": "IN"
}
}
response
{
"CreateCSRResponse": {
"csrRequest": "----BEGIN CERTIFICATE REQUEST---\nMIIBFTCBwAIBADBbMQ8wDv1cn4XdLHQ2g=\n---END CERTIFICATE REQUEST----\n"
}
}