Module Smaws_Client_ACMPCA.ImportCertificateAuthorityCertificate

Imports a signed private CA certificate into Amazon Web Services Private CA. This action is used when you are using a chain of trust whose root is located outside Amazon Web Services Private CA. Before you can call this action, the following preparations must in place:

  1. In Amazon Web Services Private CA, call the CreateCertificateAuthority action to create the private CA that you plan to back with the imported certificate.
  2. Call the GetCertificateAuthorityCsr action to generate a certificate signing request (CSR).
  3. Sign the CSR using a root or intermediate CA hosted by either an on-premises PKI hierarchy or by a commercial CA.
  4. Create a certificate chain and copy the signed certificate and the certificate chain to your working directory.

Amazon Web Services Private CA supports three scenarios for installing a CA certificate:

The following additional requirements apply when you import a CA certificate.

Enforcement of Critical Constraints

Amazon Web Services Private CA allows the following extensions to be marked critical in the imported CA certificate or chain.

Amazon Web Services Private CA rejects the following extensions when they are marked critical in an imported CA certificate or chain.

Amazon Web Services Private Certificate Authority will also reject any other extension marked as critical not contained on the preceding list of allowed extensions.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `CertificateMismatchException of Types.certificate_mismatch_exception | `ConcurrentModificationException of Types.concurrent_modification_exception | `InvalidArnException of Types.invalid_arn_exception | `InvalidRequestException of Types.invalid_request_exception | `InvalidStateException of Types.invalid_state_exception | `MalformedCertificateException of Types.malformed_certificate_exception | `RequestFailedException of Types.request_failed_exception | `RequestInProgressException of Types.request_in_progress_exception | `ResourceNotFoundException of Types.resource_not_found_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.import_certificate_authority_certificate_request -> (Smaws_Lib.Smithy_api.Types.unit_, [> Smaws_Lib.Protocols.AwsJson.error | `CertificateMismatchException of Types.certificate_mismatch_exception | `ConcurrentModificationException of Types.concurrent_modification_exception | `InvalidArnException of Types.invalid_arn_exception | `InvalidRequestException of Types.invalid_request_exception | `InvalidStateException of Types.invalid_state_exception | `MalformedCertificateException of Types.malformed_certificate_exception | `RequestFailedException of Types.request_failed_exception | `RequestInProgressException of Types.request_in_progress_exception | `ResourceNotFoundException of Types.resource_not_found_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.import_certificate_authority_certificate_request -> (Smaws_Lib.Smithy_api.Types.unit_ Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `CertificateMismatchException of Types.certificate_mismatch_exception | `ConcurrentModificationException of Types.concurrent_modification_exception | `InvalidArnException of Types.invalid_arn_exception | `InvalidRequestException of Types.invalid_request_exception | `InvalidStateException of Types.invalid_state_exception | `MalformedCertificateException of Types.malformed_certificate_exception | `RequestFailedException of Types.request_failed_exception | `RequestInProgressException of Types.request_in_progress_exception | `ResourceNotFoundException of Types.resource_not_found_exception ] * Smaws_Lib.Response.metadata) Stdlib.result