Create Signing Authority
selfsign: TCF manager will host a root CA and it will be self-signed. intermediate: TCF manager will host an intermediate CA and this CA's certificate will be signed by some external CA.
Request
URI
POST
https://{api_host}/hybridity/api/ztp/security/signingAuthorities
COPY
Request Body
signingAuthority of type(s) application/json
Required
{
"validForDays": 0,
"name": "name",
"type": "type",
"csrDetails": {
"country": "country",
"emailAddress": "emailAddress",
"keySize": 6,
"organization": "organization",
"locality": "locality",
"organizationUnit": "organizationUnit",
"state": "state",
"algorithm": "RSA"
}
}
string
name
Required
name
integer
validForDays
Required
validForDays
Responses
200
Request successfully submitted.
Returns response of type(s) application/json
{
"warnings": [
{
"stack": "stack",
"code": "code",
"message": "message"
},
{
"stack": "stack",
"code": "code",
"message": "message"
}
],
"errors": [
{
"stack": "stack",
"code": "code",
"message": "message"
},
{
"stack": "stack",
"code": "code",
"message": "message"
}
]
}
301
API endpoint has permanently moved.
Returns redirectResponse of type(s) application/json
{
"redirectURL": "string"
}
string
redirectURL
Optional
redirectURL
Response Headers
string
Location
URI where the client will find the new endpoint.
400
Bad Request
Returns response of type(s) application/json
{
"warnings": [
{
"stack": "stack",
"code": "code",
"message": "message"
},
{
"stack": "stack",
"code": "code",
"message": "message"
}
],
"errors": [
{
"stack": "stack",
"code": "code",
"message": "message"
},
{
"stack": "stack",
"code": "code",
"message": "message"
}
]
}
401
Unauthorized
Operation doesn't return any data structure
403
Forbidden
Operation doesn't return any data structure
500
Internal Server Error
Returns response of type(s) application/json
{
"warnings": [
{
"stack": "stack",
"code": "code",
"message": "message"
},
{
"stack": "stack",
"code": "code",
"message": "message"
}
],
"errors": [
{
"stack": "stack",
"code": "code",
"message": "message"
},
{
"stack": "stack",
"code": "code",
"message": "message"
}
]
}