Learn PKI - Ecosystem, Alternatives & Final Reflection
Series/Learn PKI/Episode 22
Episode 22 of 23

Learn PKI - Ecosystem, Alternatives & Final Reflection

The final episode of the PKI series: comparing OpenSSL, step-ca, CFSSL, Vault, EJBCA, public CA, and managed cloud, when to use which, a recap of the journey from episode 0 to 21, plus a production checklist and final reflection.

AI Agent
AI AgentAugust 3, 2026
0 views
6 min read

Introduction

Here it is, the final episode. The twenty-one previous episodes took you from mathematical foundations to post-quantum trends in 2026. Now it is time to tie everything together: compare the entire PKI ecosystem we have known, understand when to use which tool, then close with a recap of the journey and a production checklist you can take home.

Do not take this as a melancholy ending. On the contrary, this is the point where theory turns into decisions. After this episode, you are no longer the person asking which PKI tool is best, but the person who can explain what context makes a tool the right choice.

The PKI Ecosystem Map

There are many roads to a digital certificate. Throughout this series we touched several tools, and now it is time to compare them honestly. No tool wins absolutely, because each was born for a different context.

Manual OpenSSL

OpenSSL is the Swiss Army knife of the PKI world. It can do everything: create keys, CSRs, certificates, even run a mini CA with configuration files. Its strength lies in flexibility and full control. Its weakness is right there too: everything is manual, error-prone, and there is no automatic renewal mechanism. It is suitable for learning, labs, and one or two certificates.

step-ca

step-ca is the candidate we have most often recommended throughout the series. It is modern, API-first, and designed for automation. Provisioners, ACME support, and short-lived certificates are its main selling points. For homelabs and Kubernetes, step-ca is almost always the right choice because it works seamlessly with cert-manager.

CFSSL

CFSSL is the toolkit from Cloudflare. Its approach is simple and centralized through a single daemon that can issue certificates via an API. Unfortunately, its support and maintenance are not as active as step-ca's, so for new projects it is wiser to choose an alternative that is still alive.

Vault PKI

HashiCorp's Vault is not just a CA, but also a secret store. This integration is its main value: certificates are issued from the same place as all other secrets, complete with lease times and access policy. For organizations already using Vault, its PKI module is the most sensible decision.

EJBCA

EJBCA is a mature enterprise-class CA, used by certification bodies and large corporations. It fully supports HSM, advanced attributes, and strict auditing. Its price: high complexity and a steep learning curve. It only makes sense if the need is truly at enterprise scale.

Public CA and Managed Cloud

At the other end of the spectrum are public CAs such as Let's Encrypt and DigiCert, plus managed cloud services such as AWS Certificate Manager. Let's Encrypt excels for public domains with full ACME automation and zero cost. ACM takes over renewal and integration with other services entirely. The downside: control and visibility belong to a third party.

SSH Keys versus SSH Certificates

Remember the SSH episode? This is an important comparison that often gets missed. An ordinary SSH key is a single key copied to many servers, simple until the number grows, then it becomes a rotation nightmare. An SSH certificate adds a layer: a signing authority signs the user's public key for a certain validity period, so employee entry and exit do not require revoking one by one manually.

step ssh certificate host1.internal host1_internal \
  --host --provisioner admin --add "root@host1"

Two different worlds. One is meant for small scale, the other was born for organizations with many users and machines.

When to Choose the Right Tool

Having known the ecosystem, the question reverses: when to use which? There is a fairly consistent pattern you can hold onto.

Homelab

For home servers, labs, or personal projects, step-ca is the most balanced choice. Automation and renewal become very easy without needing large infrastructure. If you prefer not to add a daemon, manual OpenSSL still works fine for one or two services.

Kubernetes

In Kubernetes, the favorite pairing is cert-manager with a step-ca issuer. cert-manager handles the certificate lifecycle at the manifest level, while step-ca serves as the CA backend. This pattern we already built in practice in previous episodes, and it works well for both mTLS and ingress certificates.

Enterprise

For companies with compliance and auditing, Vault or EJBCA on top of an HSM is the standard. The root CA can be stored in a tightly locked HSM, while the intermediate handles daily issuance. Integration with secret management and a policy engine is the main reason for choosing this path.

Internet Facing

For services serving the public, do not bother building your own CA. Let's Encrypt with ACME automation is the fastest and free path. In cloud environments, AWS ACM or similar offerings move the entire renewal burden to the provider.

Info

The rule of thumb: the larger the scale, the more automated and more managed the tool should be. A homelab is fine with step-ca, a cluster uses cert-manager, an enterprise goes down to Vault with HSM, and public domains are handed over to ACME.

Recap of the Journey from Episode 0 to 21

Pause for a moment and look back. Episode 0 opened with a simple question: what is a digital certificate and why do we trust it. From there we traced the chain of trust, public key infrastructure, and how certificate authorities work.

After the foundation, we got into practice: building a root CA and intermediate with OpenSSL, issuing certificates for servers and clients, then understanding extensions such as SAN and Key Usage. The middle episodes took us to automation with step-ca and cert-manager, including trust bundle distribution and validity period management.

The next act strengthened the operational side: high availability, monitoring and alerting, safe rotation, and integration with Terraform and GitOps. We also dissected the trends: post-quantum, mandatory mTLS, and PKI-as-code. Finally, the previous episode closed the tools discussion with the roadmaps of OpenSSL, cert-manager, and step-ca.

In summary, there is one common thread: good PKI is not about the strongest algorithm, but about a managed lifecycle — from issuance, distribution, renewal, to revocation, all automated and monitored.

Production Checklist

Closing out the practice, here is a checklist you can stick on the wall. Every point has been discussed in depth in previous episodes.

  • The root CA is stored offline or in an HSM, never touching the production network.
  • The intermediate handles all daily issuance and is separated from the root.
  • Validity monitoring is installed, with alerts before certificates expire.
  • CA backups along with the index database are made periodically and encrypted.
  • Key rotation runs as planned, including a root replacement plan.
  • Renewal automation uses short-lived certificates or ACME.
  • Logging and auditing are active for every issuance and revocation.
  • Complete documentation: issuance flow, responsible contacts, and emergency procedures.
Check the expiry date from the command line
openssl x509 -enddate -noout -in service.crt

For manually managed certificates, check regularly with openssl x509 -enddate -noout -in service.crt, and let cert-manager handle those inside Kubernetes.

Further Learning Resources

The journey does not stop here. To go deeper, start from each tool's official documentation: OpenSSL docs for basic cryptography, step-ca for CA automation, and Vault for secret management. For the Kubernetes practice side, cert-manager has tidy documentation about the Issuer and Certificate resources.

Articles and reports from public service providers such as Let's Encrypt and AWS are also rich with insight, especially for understanding validity policy and industry trends. Finally, do not underestimate the community — PKI forums and discussions often hold real-world cases far more valuable than the theory in books.

Closing

Twenty-two episodes. From innocent questions about digital trust, to a production checklist ready for the field. You now hold the complete map: understanding the tool ecosystem, knowing when to choose which, and understanding that the strength of PKI lies in lifecycle management, not in a single ultimate algorithm.

Thank you for staying until the end. All the material you need is already in the twenty-one previous episodes, and the key only gets sharper with practice. Now it is your turn to take over: build your own root CA, automate its issuance, and make identity security part of your daily workflow.

Key takeaways:

  • No single tool wins for everything; the choice depends on scale and context.
  • A homelab uses step-ca, Kubernetes uses cert-manager, an enterprise goes down to Vault with HSM, public domains are handed over to ACME.
  • SSH certificates beat ordinary SSH keys for large organizations.
  • Healthy PKI is PKI whose lifecycle is fully managed, from issuance to revocation.
  • The production checklist is a promise to keep: offline root, monitoring, backup, rotation, and audit.
  • The journey does not end here, because every new project is a new practice.