Generate Csr

Generate Csr

Creates a new certificate signing request (CSR). A CSR is encrypted text that contains information about your organization (organization name, country, and so on) and your Web server's public key, which is a public certificate the is generated on the server that can be used to forward this request to a certificate authority (CA). A private key is also usually created at the same time as the CSR.

Request
URI
POST
https://api_host/napp/api/v1/platform/trust-management/csrs/ca
COPY
Request Body

A Certificate Signing Request.

Csr of type(s) application/json
Required
{
    "display_name": "string",
    "subject": {
        "attributes": [
            {
                "key": "string",
                "value": "string"
            }
        ]
    },
    "algorithm": "string",
    "key_size": 0,
    "pem_encoded": "string"
}
string
display_name
Required

The certificate signing request name

subject
Required

The certificate owner's information.

string
algorithm
Required

Cryptographic algorithm(asymmetric) used by the public key for data encryption.

integer
key_size
Required

Size measured in bits of the public key used in a cryptographic algorithm.

string
pem_encoded
Optional

PEM encoded certificate data.

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns Csr of type(s) application/json
{
    "display_name": "string",
    "subject": {
        "attributes": [
            {
                "key": "string",
                "value": "string"
            }
        ]
    },
    "algorithm": "string",
    "key_size": 0,
    "pem_encoded": "string"
}
string
display_name
Required

The certificate signing request name

subject
Required

The certificate owner's information.

string
algorithm
Required

Cryptographic algorithm(asymmetric) used by the public key for data encryption.

integer
key_size
Required

Size measured in bits of the public key used in a cryptographic algorithm.

string
pem_encoded
Optional

PEM encoded certificate data.


400

Unknown backend error

Operation doesn't return any data structure