Create a CertificateObject
POST/v1/config/rulestacks/:rulestackname/certificates
Create a server certificate object for the specified rulestack.
Request
Path Parameters
The name of the rulestack.
- application/json
Body
Possible values: <= 512 characters
Audit remarks.
A self-signed root CA certificate.
Certificate Signer ARN
Possible values: <= 512 characters
A description of the certificate object.
Possible values: non-empty
and <= 63 characters
, Value must match regular expression ^[a-zA-Z0-9-]+$
Name of the certificate object.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- InvalidRequestException—Operation failed due to invalid request. For example, unsupported parameter name or value in the request.
- LimitExceededException—Operation failed due to violation in limit settings.
- ThrottlingException—Operation failed due to throttling limitations.
- AccessDeniedException—You do not have sufficient access to perform this action.
- InternalServerError—Your request is valid but Cloud NGFW could not perform the operation due to a system issue.
- InsufficientCapacityException—AWS currently does not have enough capacity to fulfill your request.
Response object
The API call response.
CertificateObjectEntry object
The certificate object entry.
Audit remarks.
A self-signed root CA certificate.
Certificate signer ARN.
A description of certificate object.
Refresh token.
Name of the certificate object entry.
Name of the rulestack.
ResponseStatus object
The API call response status.
Default value: 0
Default value of a successful response is 0. Any other number indicates an error code.
400—HTTP bad request
500—Bad request
The error description.
{
"Response": {
"CertificateObjectEntry": {
"AuditComment": "string",
"CertificateSelfSigned": true,
"CertificateSignerArn": "string",
"Description": "string",
"UpdateToken": "string"
},
"Name": "string",
"RuleStackName": "string"
},
"ResponseStatus": {
"ErrorCode": 0,
"Reason": "string"
}
}