Create Certificate Authority Configuration (v2.0)
POST/v2.0/api/tenants/:tenant_id/externalcaconfigs
Create a new certificate authority configuration.
Request
Path Parameters
The tenant ID.
- application/json
Body
The certificate authority signature time out range.
The ID.
The threshold for manual trigger when renewing the certificate authority.
The renewal time range from expiry.
scep_config ScepConfig
The configuration details.
The challenge URI.
The enrollment URI.
The HTTPS value; True or False.
The numbers challenge password.
The server certificate.
The server password.
The server primary address.
The server user name.
The ID of the tenant.
Possible values: [LOCAL
, SCEP
]
The certificate authority configuration type.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
The certificate authority signature time out range.
The ID.
The threshold for manual trigger when renewing the certificate authority.
The renewal time range from expiry.
scep_config ScepConfig
The configuration details.
The challenge URI.
The enrollment URI.
The HTTPS value; True or False.
The numbers challenge password.
The server certificate.
The server password.
The server primary address.
The server user name.
The ID of the tenant.
Possible values: [LOCAL
, SCEP
]
The certificate authority configuration type.
{
"ca_sign_timeout": 0,
"id": "string",
"manual_renew_trigger_threshold": 0,
"renewal_window_from_expiry": 0,
"scep_config": {
"challenge_uri": "string",
"enrollment_uri": "string",
"https": true,
"num_challenge_passwords": 0,
"server_certificate": "string",
"server_password": "string",
"server_primary_address": "string",
"server_username": "string"
},
"tenant_id": "string",
"type": "LOCAL"
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
The error code.
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "NO_SCEP_CONFIG_SUBMITTED"
},
{
"code": "NO_SERVER_CERTIFICATE_SUBMITTED"
},
{
"code": "REDUNDANT_SCEP_CONFIG_SUBMITTED"
},
{
"code": "INVALID_REQUEST_DUPLICATE_KEY"
},
{
"code": "CANNOT_PARSE_SERVER_CERTIFICATE"
},
{
"code": "CANNOT_ADD_SERVER_CERTIFICATE_TO_KEYSTORE"
},
{
"code": "ERROR_SAVING_CERTIFICATE_AUTHORITY"
},
{
"code": "ERROR_SAVING_CERTIFICATE_AUTHORITY_CONFIG"
}
]
}
}