You must be logged in to view saved presets
Configuration for an AWS ACM-PCA (Private Certificate Authority) configured as a Root CA, including activation with a self-signed certificate and permissions for automatically renewing certificates within the account.
Important: Review the cost for ACM-PCA before provisioning any resources
The following settings are available in this template:
AWSTemplateFormatVersion: '2010-09-09'
Description: ''
Resources:
CertificateAuthority:
Type: 'AWS::ACMPCA::CertificateAuthority'
Properties:
KeyAlgorithm: RSA_2048
SigningAlgorithm: SHA512WITHRSA
Subject: {}
Type: ROOT
KeyStorageSecurityStandard: FIPS_140_2_LEVEL_3_OR_HIGHER
CsrExtensions:
KeyUsage:
CRLSign: true
DataEncipherment: true
DecipherOnly: true
DigitalSignature: true
EncipherOnly: true
KeyAgreement: true
KeyCertSign: true
KeyEncipherment: true
NonRepudiation: true
RevocationConfiguration:
CrlConfiguration:
Enabled: true
ExpirationInDays: 1
S3ObjectAcl: PUBLIC_READ
OcspConfiguration:
Enabled: true
CertificateAuthorityPermission:
Type: 'AWS::ACMPCA::Permission'
Properties:
CertificateAuthorityArn:
Ref: CertificateAuthority
Actions:
- IssueCertificate
- GetCertificate
- ListPermissions
Principal: acm.amazonaws.com
CertificateAuthorityCertificate:
Type: 'AWS::ACMPCA::Certificate'
Properties:
CertificateAuthorityArn:
Ref: CertificateAuthority
CertificateSigningRequest:
'Fn::GetAtt':
- CertificateAuthority
- CertificateSigningRequest
SigningAlgorithm: SHA256WITHRSA
TemplateArn: 'arn:aws:acm-pca:::template/RootCACertificate/V1'
Validity:
Type: YEARS
Value: 5
CertificateAuthorityActivationCertificateAuthority:
Type: 'AWS::ACMPCA::CertificateAuthorityActivation'
Properties:
CertificateAuthorityArn:
Ref: CertificateAuthority
Certificate:
'Fn::GetAtt':
- CertificateAuthorityCertificate
- Certificate
Status: ACTIVE
Parameters: {}
Metadata: {}
Conditions: {}