Building a Private PKI with AWS Private CA - Automated Certificate Issuance and Rotation

Build a private certificate authority and automatically issue mTLS certificates for internal service-to-service communication. Learn about certificate lifecycle management and CRL design.

Overview of Private CA

Private CA is a managed certificate authority service that automates the issuance and management of private certificates. While ACM (AWS Certificate Manager) issues public certificates for free, Private CA issues private certificates for use within an organization. It is used for use cases that public certificates cannot address, such as mTLS between microservices, VPN client authentication, and IoT device authentication.

Certificate Issuance and mTLS

Using certificates issued by Private CA for mTLS between services provides both communication encryption and client authentication. Using short-lived certificates (valid for hours to days) eliminates the need to manage Certificate Revocation Lists (CRLs). Because the certificate validity period is short, the time window for exploiting a compromised certificate is extremely small. Integration with ACM enables automatic deployment of private certificates to ALBs, achieving HTTPS for internal ALBs.

Certificate Templates and Automation

Private CA issues purpose-specific certificates using certificate templates for server certificates, client certificates, code signing certificates, and more. ACM integration enables automatic deployment and renewal of Private CA-issued certificates to ALBs and API Gateway. Short-lived certificates (valid for 7 days or less) simplify CRL management by eliminating the need for certificate revocation processing. An OCSP (Online Certificate Status Protocol) responder configuration can verify certificate validity in real time. CA creation and certificate issuance can be automated with CloudFormation or Terraform, managing PKI infrastructure as IaC. For a systematic guide to certificate management from basics to advanced topics, see related books on Amazon.

Private CA Pricing

Private CA costs approximately $400 per month per CA, with additional charges based on the number of certificates issued. The first 1,000 certificates cost $0.75 each, and up to 10,000 cost $0.35 each. Short-lived certificate mode reduces the monthly CA fee to approximately $50, improving cost efficiency in microservices environments that issue large volumes of short-lived certificates. A CA hierarchy (root CA -> subordinate CA) where the root CA is kept offline and only the subordinate CA is operational is a security best practice.

Summary

Private CA is a service that provides managed issuance and management of private certificates within an organization. Short-lived certificates (7 days or less) simplify CRL management, and ACM integration automates certificate deployment and renewal. mTLS enables mutual authentication between services, and a CA hierarchy (root CA + subordinate CA) builds a PKI that follows security best practices.