Module Values_0.ServerCertificateConfigSource

The server certificate configuration.

Sourcetype nonrec t = {
  1. enableOCSPCheck : EnableOCSPCheck.t option;
    (*

    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 Amazon Web Services IoT Core Developer Guide.

    *)
  2. ocspLambdaArn : OCSPLambdaArn.t option;
    (*

    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 Amazon Web Services account and region as the domain configuration. For more information, see Configuring server certificate OCSP for private endpoints in Amazon Web Services IoT Core from the Amazon Web Services IoT Core developer guide.

    *)
  3. ocspAuthorizedResponderArn : AcmCertificateArn.t option;
    (*

    The Amazon Resource Name (ARN) for an X.509 certificate stored in Amazon Web Services Certificate Manager (ACM). If provided, Amazon Web Services 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 Amazon Web Services account and region as the domain configuration.

    *)
}
Sourceval make : ?enableOCSPCheck:??? -> ?ocspLambdaArn:??? -> ?ocspAuthorizedResponderArn:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of EnableOCSPCheck.t | `String of OCSPLambdaArn.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t