PKI as a service (PKIaaS) is a model in which a provider operates your certificate authority hierarchy for you: root and issuing CAs, certificate issuance, revocation (CRL and OCSP) and lifecycle management are consumed through a console and APIs instead of being run on your own servers. The CA signing keys sit in hardware security modules (HSMs) or a key management service, held either by the provider or in a vault you control.
Most organizations run a private PKI because something inside the network needs certificates: Wi-Fi and VPN authentication, device identity, service-to-service TLS, Kubernetes workloads, code and document signing. For many of them that private PKI is still a Windows Server role installed years ago and maintained by one or two people. The pressure on it is rising from three directions at once: shorter certificate lifetimes that make manual renewal impractical, attack research that keeps finding abuse paths in Active Directory Certificate Services (AD CS), and the need to issue post-quantum certificates.
This guide explains what a managed private CA is, what PKI as a service changes compared with an on-premises PKI, how public and private PKI differ, how the main deployment models and providers compare, which criteria matter when you choose, how to run a post-quantum PKI as a service, and a phased plan to migrate from AD CS without breaking existing trust.
Table of Contents
- What Is PKI as a Service?
- PKI as a Service vs On-Premises PKI
- Public PKI vs Private PKI
- Why Teams Move Their Private CA to a Service
- PKI Deployment Models Compared
- PKI as a Service Providers
- How to Evaluate a PKI as a Service Provider
- Post-Quantum PKI as a Service
- Migrating from ADCS to PKI as a Service
- Private PKI with DuoKey
- FAQ
What Is PKI as a Service?
A PKI has four moving parts, and PKI as a service turns each of them into something you consume rather than build:
| PKI component | What you run yourself (self-hosted) | What the service provides |
|---|
| CA hierarchy | Offline root, online issuing CAs, servers, backups, OS patching | Root, intermediate and issuing CAs created and managed through a console or API |
| Issuance | Templates, enrollment endpoints, approval scripts | Certificate profiles, enrollment protocols (ACME, EST, SCEP, CMP), approval workflows |
| Revocation | CRL publishing jobs, OCSP responders, distribution points | Hosted CRL distribution points and OCSP responders per CA |
| Lifecycle | Spreadsheets, expiry alerts, manual renewals | Inventory, renewal automation, reporting and audit trail |
The most important design question is who holds the CA private keys. In a fully managed offering, the provider generates and stores CA keys in its own HSMs or cloud KMS. In a customer-controlled model, the service runs the CA logic but signs through a key vault or HSM that you own, so the provider cannot use your root or issuing keys on its own. Both are valid; they carry different risk profiles, and regulated organizations often need the second.
"Cloud PKI", "managed PKI" and "hosted PKI" are used as synonyms for PKI as a service. "Private CA as a service" is the narrower term for the case covered here: a CA whose certificates are trusted only by systems you configure.
PKI as a Service vs On-Premises PKI
The choice is less about technology than about who carries the operational work and who controls the keys.
| Topic | On-premises PKI | PKI as a service |
|---|
| Infrastructure | CA servers, HSMs, databases, backups and patching run by your team | Run by the provider; you configure CAs, profiles and policies |
| Availability of CRL and OCSP | Your web servers and responders, your uptime | Hosted distribution points and responders |
| Enrollment protocols | Whatever your CA product supports, often only native Windows enrollment | Usually ACME, EST, SCEP and a REST API; check CMP if you run industrial or telecom PKI |
| CA key custody | Your HSM, or a software key store | Provider HSM or KMS, or a vault or HSM you control, depending on the offering |
| Skills | PKI specialists in-house to design, run and recover the CA | Policy and integration skills in-house; CA operations delegated |
| Cost model | Hardware, licences and staff time, mostly fixed | Subscription; models vary (per CA, per certificate volume, pay as you go) |
| Change speed | New CA or profile is a project | New CA or profile is a configuration change |
The benefits most teams look for are the ones in the right-hand column: no CA servers to patch, hosted revocation services, standard enrollment protocols for automation, and a faster path to new algorithms. What stays your responsibility in every model is the certificate policy, the list of relying parties that trust your root, and the decision on who may hold the CA keys.
Public PKI vs Private PKI
The difference is who trusts the root.
- Public PKI. The root CA certificate ships in browser and operating system trust stores. Any device on the internet trusts certificates chaining to it. Public CAs issuing TLS server certificates must follow the CA/Browser Forum Baseline Requirements for the Issuance and Management of Publicly-Trusted TLS Server Certificates, which define validation methods, audits and maximum validity periods.
- Private PKI. You decide which devices trust your root, usually by distributing it through Group Policy, MDM or a container image. The CA/Browser Forum rules do not apply, so you set your own policies for key types, lifetimes and extensions. The trade-off: nothing outside your managed estate will trust these certificates.
The Baseline Requirements are shortening public TLS certificate lifetimes in steps: a maximum of 200 days from 15 March 2026, 100 days from 15 March 2027 and 47 days from 15 March 2029. The full timeline and its operational impact are covered in our 47-day TLS certificate lifetime guide.
Private certificates are not legally bound by that schedule, but the same direction applies: short-lived certificates issued automatically shrink the window in which a stolen key is useful. A private CA that cannot be automated becomes the bottleneck.
| Question | Public PKI | Private PKI |
|---|
| Who trusts the root? | Browsers and operating systems by default | Only devices you configure |
| Typical uses | Public websites, public APIs | Internal TLS, mTLS, VPN, Wi-Fi (802.1X), device and workload identity, internal signing |
| Rules | CA/Browser Forum Baseline Requirements, root program policies | Your own certificate policy |
| Algorithm choice | Limited to what the ecosystem accepts | Your choice, including post-quantum where both ends support it |
| Who can issue | A publicly trusted CA | You, or a provider operating a CA for you |
Why Teams Move Their Private CA to a Service
The business problem is rarely "we want a new CA". It is usually one of these:
- Outages from expired certificates. Manual renewal does not scale when certificate counts grow and lifetimes shrink. Automation needs standard enrollment protocols such as ACME, which many legacy private CAs do not expose. See the ACME private CA automation guide for the mechanics.
- AD CS attack surface. Misconfigured templates, enrollment agents and web enrollment endpoints have produced a family of privilege-escalation techniques known as ESC1, ESC2 and onward. Patching individual findings does not remove the architectural coupling between the CA and Active Directory. We cover this in Securing your PKI: where ADCS breaks down.
- Cloud-native workloads. Kubernetes clusters, service meshes and short-lived workloads need certificates issued in seconds through an API, not through a domain-joined server.
- Post-quantum migration. Long-lived roots signed with RSA or ECDSA today will still be in trust stores when quantum-capable attackers may exist. A PKI that can create ML-DSA, SLH-DSA or hybrid chains gives you a place to start testing.
- Key custody and audit. Auditors increasingly ask where CA keys live, who can use them and how that is logged. A CA key on a Windows server's software key store is hard to defend.
PKI Deployment Models Compared
There are four common ways to run a private CA. None is right for every organization; the table shows the trade-offs.
| Model | Examples | Who operates it | Where CA keys live | Strengths | Watch-outs |
|---|
| Self-hosted Windows CA | Active Directory Certificate Services (AD CS) | You | Windows key storage providers, optionally an on-premises HSM | Deep Active Directory integration, auto-enrollment via Group Policy, NDES for network devices | Server operations, template misconfiguration risk, tight coupling to AD |
| Self-hosted open source | EJBCA Community, step-ca, HashiCorp Vault PKI secrets engine | You | Your servers or HSM, depending on configuration | Full control, broad protocol support in some products, no per-certificate fees | You own availability, upgrades, HSM integration, revocation infrastructure and audit |
| Cloud-provider private CA | AWS Private CA, Google Cloud Certificate Authority Service, Microsoft Cloud PKI for Intune | Cloud provider | Provider-managed | No servers to run, native integration with that provider's services | Scoped to one ecosystem; feature sets and algorithms differ per service |
| Independent PKI as a service | Specialist PKI vendors | Vendor, with options for customer-held keys | Vendor HSM or a customer-controlled vault/HSM, depending on the offering | Multi-cloud and on-premises reach, multiple enrollment protocols, central policy | Check key custody, protocol coverage and exit options carefully |
A few verified details help narrow the choice:
- AD CS is "a Windows Server role for issuing and managing public key infrastructure (PKI) certificates." Microsoft documents ML-DSA support in AD CS on Windows Server 2025 with the 2026-05 security update; composite ML-DSA and ML-KEM are listed as planned.
- EJBCA is maintained by Keyfactor and offered as an open-source Community edition and an Enterprise edition. step-ca from Smallstep describes itself as "an online Certificate Authority for secure, automated X.509 and SSH certificate management" and supports ACME. HashiCorp Vault's PKI secrets engine "generates dynamic X.509 certificates."
- AWS Private CA creates private CA hierarchies, including root and subordinate CAs, and its documentation lists ML-DSA-44, ML-DSA-65 and ML-DSA-87 alongside RSA and ECDSA key algorithms. CAs are regional resources.
- Microsoft Cloud PKI for Intune issues certificates to Intune-managed devices through SCEP, supports a two-tier hierarchy or bring-your-own CA anchored to AD CS, uses RSA keys (2048, 3072, 4096) provisioned in Azure Managed HSM for licensed CAs, and allows up to three CAs per tenant.
- Google Cloud Certificate Authority Service is Google Cloud's managed service for private certificate authorities.
PKI as a Service Providers
The PKI as a service market splits into specialist PKI vendors, publicly trusted CAs that also sell private CAs, and cloud providers. The table summarises what each vendor states in its own public material (reviewed November 2026); confirm details such as regions, protocols and algorithms with the vendor before you shortlist.
| Provider | Offering | Delivery and hosting (as stated by the vendor) | Points to check |
|---|
| DigiCert | DigiCert Private CA, part of DigiCert ONE | "Run PKI in DigiCert cloud, on-prem, or hybrid environments"; FIPS 140-2 Level 3 HSMs | US company; public and private certificates from one vendor |
| Keyfactor | EJBCA SaaS | Hosted EJBCA Enterprise through the AWS and Azure marketplaces, in US, EU and AP regions; dedicated offline root CA; ACME, SCEP, CMP, Microsoft autoenrollment and REST | US company; HSM or KMS options depend on the cloud chosen |
| Sectigo | Sectigo Certificate Manager | Cloud-based certificate lifecycle platform covering public and private certificates | Publicly trusted CA; check private CA options and protocols |
| Entrust | Entrust PKI as a Service | Managed PKI from a publicly trusted CA | Ask for hosting regions, key custody and protocol coverage |
| AWS, Google Cloud, Microsoft | AWS Private CA, Google Cloud CAS, Microsoft Cloud PKI for Intune | Provider-managed, within each cloud (see the list above) | Scoped to one ecosystem |
| DuoKey | PKI and certificate management in DuoKey Cockpit | Operated by DuoKey (Swiss company, Swiss law) or on your premises; CA keys in an HSM, cloud KMS or MPC cluster you choose | Private PKI only, not a publicly trusted CA; details below |
For a feature-by-feature view with a source for every cell, see the comparisons of DuoKey with Keyfactor, DigiCert and Microsoft AD CS, or the broader PKI solution buyer's guide.
How to Evaluate a PKI as a Service Provider
Use the criteria below as a scoring sheet. Ask each provider to show, not tell: a demo of the enrollment flow and a sample audit export are worth more than a feature list.
| Criterion | What to ask | Why it matters |
|---|
| CA key custody | Where are root and issuing keys generated and stored? HSM, cloud KMS, MPC? Can you bring your own HSM or vault? Can the provider sign without you? | Determines who can issue in your name and how you answer auditors |
| Hierarchy options | Root, intermediate and issuing CAs? Can you import an existing (external) CA? Cascade revocation? | Lets you mirror your current hierarchy and migrate gradually |
| Enrollment protocols | ACME (RFC 8555), EST (RFC 7030), SCEP (RFC 8894), CMP (RFC 4210, profiled by RFC 9483), REST API | Each protocol covers a different estate: servers and Kubernetes (ACME), IoT and network gear (EST, SCEP, CMP), MDM (SCEP) |
| Revocation | Per-CA CRL distribution points and OCSP (RFC 6960) responder? Revocation reasons per RFC 5280? Update frequency? | Relying parties must be able to check status reliably |
| PQC readiness | ML-DSA (FIPS 204) and SLH-DSA (FIPS 205) CAs? Hybrid or composite chains? Are PQC signing keys held in an HSM or vault? | Lets you pilot post-quantum chains while keeping classical interoperability |
| Integrations | Kubernetes cert-manager, MDM, load balancers, network devices, deployment of issued certificates to endpoints | Issuance is only half the job; certificates must land where they are used |
| Approval and policy | CSR approval workflow, profiles, role-based access, tenant isolation | Prevents the "anyone can request anything" pattern behind many AD CS findings |
| Audit | Is every issuance, revocation and admin action logged? Is the log tamper-evident and exportable? | Evidence for DORA, NIS2 and internal audit |
| Migration from AD CS | Can the service run in parallel with AD CS? Can it import your existing CA or chain to your root? | Avoids a risky cut-over |
| Exit plan | Can you export certificates, CA certificates and audit logs? What happens to keys at contract end? | A CA is long-lived; vendor lock-in is a real risk |
Post-Quantum PKI as a Service
A post-quantum PKI is a certificate hierarchy whose CAs and certificates are signed with quantum-resistant algorithms, ML-DSA (FIPS 204) or SLH-DSA (FIPS 205), or with hybrid composites that pair one of them with RSA or ECDSA. A PKI service is a practical place to build one, because creating a new root and issuing CAs becomes a configuration step rather than a hardware project.
What to check with a provider:
- Algorithms per tier. Can you create an ML-DSA or SLH-DSA root, ML-DSA issuing CAs, and hybrid composite CAs, and does the service stop you from building a chain whose parent cannot sign its child?
- Where the PQC keys live. PQC CA keys should be generated and used inside an HSM or vault, like classical ones.
- Parallel hierarchies. You will run classical and post-quantum chains side by side for years. The service should host both under one policy and one audit trail.
- Enrollment. ACME, EST, SCEP and CMP are algorithm-agnostic, but each client must be able to generate the new key types and CSRs. Test each client.
Keep expectations grounded: not every browser, server or device understands ML-DSA or SLH-DSA yet, and no CA/Browser Forum ballot allows ML-DSA in publicly trusted TLS certificates. Use pure PQC chains where you control both ends and hybrid chains where classical relying parties must still validate. Our guide to post-quantum PKI and ML-DSA certificates covers sizes, standards, compatibility and a step-by-step migration path.
Migrating from ADCS to PKI as a Service
A CA migration fails when trust breaks: devices stop trusting a new chain, or a revoked certificate is still accepted. A parallel-hierarchy approach avoids both.
Phase 1: Inventory
- Export the list of issued, unexpired certificates from each AD CS CA, grouped by template.
- Map each template to its consumers: domain controllers, Wi-Fi/802.1X, VPN, web servers, smart cards, code signing.
- Identify which consumers depend on AD-specific features (auto-enrollment, smart card logon) and which can use a standard protocol.
Phase 2: Build the new hierarchy in parallel
- Create a new root and issuing CAs in the service, with keys in an HSM or vault you approve.
- Alternatively, if the service supports it, chain a new issuing CA to your existing root so relying parties need no new trust anchor.
- Define certificate profiles that replace your templates, without the risky options (for example, requester-supplied subject names on authentication templates).
Phase 3: Distribute trust
- Push the new root (and intermediates) to all relying parties via Group Policy, MDM, configuration management and container base images.
- Verify trust on a sample of every device class before issuing a single production certificate.
Phase 4: Move workloads by protocol
- Servers and Kubernetes: switch to ACME. Point cert-manager or certbot at the new CA's directory URL.
- Network devices and IoT: EST, SCEP or CMP.
- Managed endpoints: MDM SCEP profiles pointing to the new CA.
- Migrate one consumer group at a time and let old certificates expire naturally rather than revoking them in bulk.
Phase 5: Decommission
- Stop issuance on AD CS templates once a group is migrated; keep CRL publishing running until the last AD CS certificate has expired.
- Revoke the old issuing CA, publish a final CRL, archive the database and keys according to your retention policy.
Private PKI with DuoKey
DuoKey certificate management provides a private PKI managed from DuoKey Cockpit, the same console and API used for keys and vaults. It is available as a service operated by DuoKey (a Swiss company, under Swiss law) or installed on your premises. It is designed for internal trust (servers, workloads, devices and users you control), not for publicly trusted TLS certificates. According to the DuoKey documentation:
CA hierarchy and algorithms
- Root, intermediate/issuing and external (imported) CAs. Parent-algorithm compatibility is enforced so PQC and hybrid chains verify.
- RSA-2048/4096, EC-P256/P384, ML-DSA-44/65/87 (FIPS 204), SLH-DSA-128F/128S (FIPS 205) and a hybrid composite of ML-DSA-65 + ECDSA-P256.
- CA lifecycle: suspend and reactivate, simple and cascade revoke, archive.
Key custody
- A CA created with a vault keeps its signing key in that vault, an HSM (for example Securosys), a cloud KMS or an MPC cluster, and every certificate, CRL and OCSP response is signed there; nothing is exported. MPC-held CA keys are currently limited to ECDSA P-256.
- PQC and hybrid CAs are vault-signed: their signing keys live in the vault or HSM and are never generated locally.
Issuance, governance and revocation
- CSR approval workflow: request, approve or reject, issue. Renew and revoke with RFC 5280 reason codes.
- M-of-N quorum on CA revocation, archive, CA and template changes and high-value issuance, plus access policies by user, IP, country and time.
- Per-CA CRL and OCSP responder.
- Deployment connectors push issued certificates to F5 BIG-IP, FortiGate, Azure App Service, Entra ID, Apache, Nginx, IIS, Java keystores and Windows, with validation and rollback, then renew and redeploy them before they expire.
- External CA issuers (for example Let's Encrypt, DigiCert, Sectigo, AWS Private CA, Google Cloud CAS) can be driven from the same console, so public and private certificates share one inventory and one deployment path.
Enrollment protocols
- ACME (RFC 8555) with http-01, dns-01 and tls-alpn-01 challenges and ACME Renewal Information (RFC 9773). Challenges are validated; an internal CA can opt out of that validation for lab use, and the opt-out is off by default. Typical clients include certbot, acme.sh, Caddy and Kubernetes cert-manager (verified end to end).
- EST (RFC 7030: cacerts, simpleenroll, simplereenroll, serverkeygen, csrattrs), SCEP (RFC 8894) and CMP (RFC 4210/9483).
- Windows autoenrollment and Intune SCEP / PKCS delivery are in preview.
A cert-manager ClusterIssuer points at the CA's ACME directory:
# ClusterIssuer pointing cert-manager at a DuoKey CA over ACME
server: https://{cockpit-url}/api/pki/acme/{ca-id}/directory
cert-manager renews by default at two-thirds of the certificate lifetime; you can change this with renewBefore.
The same private CA can back document signing: DuoKey PDF Sign is a server-side PDF signing API in Cockpit where the certificate never leaves the tenant keystore. To find which certificates and algorithms you have today before migrating, start with cryptographic posture management. For hosting options, pricing or anything not listed here, contact DuoKey.
FAQ
Q: What is PKI as a service?
PKI as a service is a delivery model where a provider operates your certificate authority hierarchy, certificate issuance, revocation and lifecycle management, and you consume them through a console and APIs. CA keys are held in HSMs or a KMS, either by the provider or in a vault you control. It replaces the servers, scripts and manual processes of a self-hosted CA.
Q: What is the difference between public and private PKI?
A public PKI's root is pre-installed in browsers and operating systems, so anyone trusts its certificates; public TLS CAs must follow the CA/Browser Forum Baseline Requirements. A private PKI's root is trusted only by devices you configure, and you set your own certificate policy. Use public certificates for internet-facing services and private ones for internal systems, devices and workloads.
Q: What is private CA as a service?
It is PKI as a service limited to a private certificate authority: the provider runs root and issuing CAs that only your systems trust. Typical uses are internal TLS, mutual TLS between services, VPN and Wi-Fi authentication, Kubernetes workloads and device identity.
Q: Which companies offer PKI as a service?
Specialist PKI vendors such as Keyfactor (EJBCA SaaS) and DuoKey, publicly trusted CAs such as DigiCert, Sectigo and Entrust, and cloud providers with AWS Private CA, Google Cloud Certificate Authority Service and Microsoft Cloud PKI for Intune. They differ most on CA key custody, enrollment protocols, hosting jurisdiction and post-quantum support.
Q: What are the benefits of PKI as a service?
No CA servers, HSMs or revocation infrastructure to run, standard enrollment protocols for automated renewal, faster creation of new CAs and profiles (including post-quantum ones), and a central audit trail. The trade-off is dependence on the provider, so check key custody and exit options.
Q: Can I replace ADCS with PKI as a service?
Yes, for most use cases, provided you migrate in parallel rather than with a single cut-over. Build a new hierarchy (or chain a new issuing CA to your existing root), distribute trust, move consumers protocol by protocol (ACME, EST, SCEP, CMP) and keep AD CS CRLs published until its last certificate expires. Check AD-specific dependencies such as smart card logon and Group Policy auto-enrollment early.
Q: Is PKI as a service ready for post-quantum certificates?
Some services can already create ML-DSA (FIPS 204) CAs, and a few also support SLH-DSA (FIPS 205) and hybrid composite chains; support varies by provider, so ask. Not every client understands these algorithms yet, so use pure PQC chains where you control both ends and hybrid chains where classical systems must still validate.
Q: Who holds the CA private keys in a managed PKI?
It depends on the offering. Some providers generate and keep CA keys in their own HSMs or KMS. Others sign through a vault or HSM you control, which means the provider cannot issue in your name on its own. Ask for this in writing before you choose.
Q: How do certificates get renewed automatically with a private CA?
Through enrollment protocols. Servers and Kubernetes clusters use ACME clients such as certbot or cert-manager; network devices and IoT use EST, SCEP or CMP; managed endpoints use MDM SCEP profiles. The client renews before expiry without a ticket or manual step.
Q: What is the difference between cloud PKI and managed PKI?
The terms are mostly used interchangeably. "Cloud PKI" stresses that the CA runs as a cloud service; "managed PKI" stresses that someone else operates it. What matters is the specifics: key custody, protocols, revocation, PQC support and audit.
Conclusion: Choose the PKI Model by Key Custody and Automation
PKI as a service removes server operations from your CA, but the decision that matters most is who holds the CA keys and whether every consumer can enroll automatically. Before you sign:
References