Skip to main content
← All posts·
Security

Building Internal PKI Infrastructure for Zero Trust: mTLS, Service Mesh, and Beyond

Zero trust requires identity verification for every connection. Internal PKI infrastructure — mTLS, service mesh certificates, and short-lived credentials — is the foundation.

Luca Berton8 min read

External SSL certificates protect your perimeter. Internal PKI protects everything behind it. In a zero-trust architecture, every service-to-service connection must be authenticated and encrypted. That requires internal PKI infrastructure at scale — issuing thousands of certificates with short lifetimes, automatically.

Why Internal PKI for Zero Trust

  • Service identity — Every microservice gets a cryptographic identity, verified on every request
  • mTLS everywhere — Mutual TLS between all services eliminates network-level trust
  • Short-lived certificates — Minutes to hours, not months. Compromise window shrinks dramatically
  • Automated issuance — No human in the loop for service certificate provisioning

Internal CA Architecture

Option 1: HashiCorp Vault PKI

Vault as an internal CA: root CA offline, intermediate CAs for each environment, automated certificate issuance via API, short-lived certificates (24h or less), policy-based issuance (which services can request which certificates).

Option 2: cert-manager + Step CA

Kubernetes-native PKI: Smallstep Certificate Authority for internal CA operations, cert-manager for automated certificate lifecycle in Kubernetes, ACME protocol for standardized issuance, integration with service mesh for transparent mTLS.

Option 3: SPIFFE/SPIRE

The CNCF standard for workload identity: platform-agnostic identity framework, automatic identity attestation based on workload metadata, short-lived SVIDs (SPIFFE Verifiable Identity Documents), federation across clusters and clouds.

📘 Book

Kubernetes Recipes

Practical guide for container orchestration and deployment — hands-on patterns you can use today.

View on Amazon →

Service Mesh mTLS

Service meshes (Istio, Linkerd, Cilium) provide transparent mTLS:

  • Automatic certificate provisioning for every pod
  • Certificate rotation without application changes
  • Policy-based authorization (which services can talk to which)
  • Encryption of all east-west traffic without application code changes

Compliance Value

Internal PKI provides evidence for: DORA encryption requirements, AI Act cybersecurity controls, GDPR data protection in transit, and NIS2 security measures. The infrastructure generates compliance evidence automatically — every mTLS connection is a documented security control.

🎓 Course

Evaluating RAG Solutions

Choose the right RAG model, configure, test, and optimise.

Start on Pluralsight →
pki
mtls
zero trust
service mesh
internal ca

Need help applying this in your organization?

Get a free 30-minute assessment with actionable recommendations — whether we work together or not.

Book Your Free AI Platform Assessment

Or see AI readiness assessment scope & pricing

18+ years experience · Ex-Red Hat & Dell · Speaker at KubeCon EU 2026

Luca Berton

Written by

Luca Berton

CEO at Open Empower. 18+ years building enterprise infrastructure at JPMorgan Chase, Red Hat & Dell. Author of 9 technical books. Speaker at Red Hat Summit and KubeCon EU 2026. Instructor on Coursera, Pluralsight & Udemy.

Get more insights like this

Practical AI infrastructure and platform engineering guides — delivered to your inbox.

Subscribe to Newsletter →