app.ca.sign
The app.ca.sign command is used to sign a CSR and return a certificate (cert).
TR50 Request
{
"cmd": {
"command": "app.ca.sign",
"params": {
"type": "SRA-SERVER",
"csr": "000000000000000000000000" }
}
}
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | String | Yes* |
The ID of the CA. |
| type | String | Yes* | The type identifier of the CA. |
| csr | String | Yes |
The Certificate Signing Request. All carriage returns must be replaced with the newline control sequence "\n" before submission. |
| * One of the parameters is required. | |||
TR50 Response
If the command is sent successfully a success message and the certificate is returned. Otherwise, an error and error message will be returned.
{
"cmd": {
"success": true,
"params": {
"cert": "000000000000000000000000"
}
}
}
Response Parameters
| Name | Type | Description |
|---|---|---|
| cert | String |
The certificate contents. |