ServerCertificateConfig - AWS IoT

ServerCertificateConfig

The server certificate configuration.

Contents

enableOCSPCheck

A Boolean value that indicates whether Online Certificate Status Protocol (OCSP) server certificate check is enabled or not.

For more information, see Server certificate configuration for OCSP stapling from AWS IoT Core Developer Guide.

Type: Boolean

Required: No

ocspAuthorizedResponderArn

The Amazon Resource Name (ARN) for an X.509 certificate stored in AWS Certificate Manager (ACM). If provided, AWS IoT Core will use this certificate to validate the signature of the received OCSP response. The OCSP responder must sign responses using either this authorized responder certificate or the issuing certificate, depending on whether the ARN is provided or not. The certificate must be in the same AWS account and region as the domain configuration.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

Pattern: arn:aws(-cn|-us-gov|-iso-b|-iso)?:acm:[a-z]{2}-(gov-|iso-|isob-)?[a-z]{4,9}-\d{1}:\d{12}:certificate/[a-zA-Z0-9/-]+

Required: No

ocspLambdaArn

The Amazon Resource Name (ARN) for a Lambda function that acts as a Request for Comments (RFC) 6960-compliant Online Certificate Status Protocol (OCSP) responder, supporting basic OCSP responses. The Lambda function accepts a base64-encoding of the OCSP request in the Distinguished Encoding Rules (DER) format. The Lambda function's response is also a base64-encoded OCSP response in the DER format. The response size must not exceed 4 kilobytes (KiB). The Lambda function must be in the same AWS account and region as the domain configuration. For more information, see Configuring server certificate OCSP for private endpoints in AWS IoT Core from the AWS IoT Core developer guide.

Type: String

Length Constraints: Maximum length of 140.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: