CertificateSigningRequest
This API signs a certificate.
URL
<http/https>://<host-name>:<Port>/protectappws/services/rest/signRequest
Input Parameters
Parameters | Description |
---|---|
userName | Name of the user (optional). |
password | Password associated with the user (optional). |
caName | CA name. |
noOfExpireDays | Expiration date of the certificate. |
csrRequest | CSR request. |
certAlias | Client certificate alias for making SSL connections (optional). |
certPass | Password for the provided certificate alias (optional). |
Sample REST call for cxf
request
{
"CertificateSigningRequest": {
"userName": "abc",
"password": "safenet@123",
"caName": "xyz",
"noOfExpireDays": "1",
"csrRequest": "-----BEGIN CERTIFICATE REQUEST-----\nMIICoDCCAYgCAQAwWzEPMA0GA1UEAxMGdGVzdENOMQkwBwYDVQQKEwAxCTAHBgNV\nBAsTADEJMAcGA1UEBxMAMQkwBwYDVQQIEwAxCzAJBgNVBAYTAlVTMQ8wDQYJKoZI\nhvcNAQkBFgAwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDvn7+CireT\nJ620bg/mXmShkiZlmh71I1VsYQskvQK9i3wrFn6dGEOAD5nhMPV5RPFelPcZYUnf\nIymzALj0W43YVn1UT8Y+g5KFWfGLZKeAa1myqXxB8VeYiPtcMFbdg1lhRhGEvuZT\nNfFxSZ6hNLWyO6AuIHByHsh3yKU/jAQ1gQ4UIW0GLA/mqbqb73PNcJ4aoyNKLKN1\nJ+Gw2ozL3wyFvw0NeJpfWmIA6ZkCbCBTT80cOxiQT9YMDtjCZfsZ3CyUyGzP5oLt\nPmbLzK1ZeXWUemPh31CEPN5Fx7ju4Rp68XBaFs2XR6f8yIsw6e+FVd8rUC6psFDR\nTfla3vPgriO/AgMBAAGgADANBgkqhkiG9w0BAQsFAAOCAQEAzCdipiN9JINe2y4o\nvHnNYG8nxPUBoJxgYbSxwvTGhnHEYEEEKheGGL19V0zLvVgvb776ZsSoYS9KVSOg\njzsc6g1riI2aol1Pe/1eqdfT6f1prl8Q4yr7YAtFSAos1lqHOxXD91gvmU/2496c\nU1OzLtjXuryyZvrqd6HwRaZ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