Skip to content

Release notes

Docs for PKI Manager 3.17.0 (released 2026-11-24), from main 4d59c30 (30 commits after the release). Page changed after 3.17.0, not in a release yet.

Source: CHANGELOG.md

Security hardening: no stack traces, no passwords in URLs, CA key export opt-in

Three security fixes. Behaviour change: downloading a CA as a keystore that contains its private key (p12-keystore, jks-keystore) is now off by default. Set ALLOW_CA_KEY_EXPORT=true to allow it; then only admins can export, and every attempt is audited (ca.export_private_key). CA certificate formats and leaf keystores are unchanged. Export passwords now go in the X-Export-Password header (the password query parameter still works and is deprecated). This release also carries the 3.16.1 changes as a minor version: they included new features (audit actors, ECDSA external signing).

  • ca: disable CA private key keystore export by default
  • security: send export passwords in a header, never in URLs
  • trpc: keep the message of errors thrown on purpose
  • backend: strip stack traces and internal messages from tRPC errors in production
  • Add ALLOW_CA_KEY_EXPORT=true only if you need CA keystores with the private key (see DEPLOYMENT.md).
  • Scripts that send ?password= keep working; move them to the X-Export-Password header.
  • audit: record the actor (user, integration, SSH token) on every audit row
  • external: sign ECDSA CSRs and accept empty-subject CSRs with a SAN
  • certificates: never destroy a KMS key that another certificate still uses
  • renew: reuse the key pair when requested and state what happens to the old certificate
  • backend: initial empty CRL on CA creation; keyAlgorithm in create response
  • frontend: CA form lists the key usages actually issued
  • issuer: publish chart appVersion image tag on release
  • scep: accept application/octet-stream for PKIOperation POST
  • export: run keytool and openssl without a shell

SSH principal fixes, fleet tokens UI and the documentation site

SSH access is easier to run day to day: offboard people in one step, manage fleet tokens in the UI, remove mappings and grants, and limit what a token may sign. The project now has a public documentation site with verified guides, a generated API reference and the SSH certificate videos. Database migrations 0012 and 0013 run automatically at start.

  • ssh: optional principal and lifetime limits on sign-user tokens
  • ssh: host Access list shows who can really reach the host
  • ssh: remove a host mapping and an identity grant
  • ssh: stale means principal files changed and not pushed
  • frontend: add SSH fleet tokens page
  • frontend: add Offboard action for SSH identities
  • backend: take client IPs from trusted proxies (TRUST_PROXY) and log dropped audit rows
  • docs: explainer render never leaves a truncated MP4
  • ssh: issue form mapping panel shows only the identity zone
  • frontend: move SSH principal UI copy out of component files
  • site: public documentation at https://oriolrius.github.io/pki-manager-web/ (Astro Starlight, GitHub Pages), built from the repository docs.
  • guides: install and log in, private CA and certificates, from easy-rsa to PKI Manager (Mosquitto mTLS), Kubernetes with cert-manager, automation with integration tokens and SCEP. Every step was run on a demo stack; screenshots come from docs/site/demo.
  • api: reference generated from the backend source (107 operations), a test that keeps routes and the OpenAPI document in sync, and a how-to whose curl examples run in CI.
  • ssh: two video series (19 episodes, on YouTube) with diagrams and a reference page; principals guide corrected.
  • fixes: Docker data folder must be owned by uid 1001, OIDC audience/nbf checks, issuer install (image tag), integrations limits; all diagrams in PlantUML.
  • scep: add standalone SCEP gateway, Compose overlays and image workflow (#19)
  • integrations: generalize CA-bound service tokens with backend-owned SCEP RA (#18)
  • kms: use the Cosmian 5.24 config schema so dev keys persist (#20)
  • frontend: improve CA actions and support dark bulk dialogs (#17)
  • frontend: correct issuing CA links in certificate list (#16)
  • frontend: show dynamic page titles in browser tabs (#15)
  • frontend: generate visible secure passwords for certificate exports (#14)
  • support OIDC admin roles through UserInfo (#10)
  • authenticate CA certificate and truststore downloads (#12)
  • auth: provider-agnostic OIDC login via react-oidc-context (#7)
  • auth: finish provider-agnostic OIDC on top of PR #7
  • security: stop trusting compromised eMudhra intermediates
  • docker: install openssl CLI in backend runtime image
  • ssh: CA fleet re-issue report endpoint — the rotation retirement gate (TASK-236)
  • ssh: make CA rotate() atomic + archived-zone-safe (TASK-235)
  • nginx: proxy zone-scoped SSH trust routes to the backend (TASK-076)
  • ssh: add certificate purge (hard-delete) with KRL-safe semantics
  • ssh-ui: streamline workspace navigation

SSH Zones — run many independent SSH trust domains in one installation

One PKI Manager can now host N independent SSH trust domains (prod vs staging, customer A vs B, datacenter vs lab). A generic zones table becomes a real trust boundary, not a UI label: a host in a zone trusts only that zone’s user CAs. Each zone has its own active + rotating User and Host CA, and hosts, identities and principals each belong to exactly one zone (the same FQDN, subject or principal name can be reused across zones).

A migrated single-zone installation is behaviourally identical — every existing row is backfilled to a seeded default zone, the legacy unscoped trust endpoints keep serving it (with a Deprecation header), and the Ansible role, pki-manager-cli and krl-client keep working untouched. Zone resolution is fail-closed: implicit while one zone exists, an explicit error once several do — so an un-scoped caller never silently signs with the wrong trust domain’s CA. Upgrade steps, including backup and rollback, are in docs/ssh/zones-migration-runbook.md; concepts in docs/ssh/zones.md.

Highlights: migration 0009 (rebuild-and-copy, seeds default); zone-scoped CA/ host/user/principal services and per-host KRLs; tRPC ssh.zone router + REST /ssh/zones + ?zoneId= filters; fleet-token zones and an ECIES 409 AMBIGUOUS_HOST disambiguation; krl-client --zone; a frontend zone switcher (URL + localStorage), filters, pickers and a /ssh/zones management page.

  • ssh: SSH Zones — multi-CA grouping and trust boundary (decision-017)
  • ssh: full REST/OpenAPI parity with tRPC (TASK-216)
  • ui: theme the Swagger page so /api-docs is readable in dark mode
  • ssh-ui: reusable PrincipalSelect and per-host mapping card
  • ssh: expose markPushed over REST (TASK-215)

Require ECDSA host keys for SSH

SSH host keys must now be ecdsa-sha2-nistp256 — a single key that serves as both the certificate subject and the ECIES recipient for encrypted KRL distribution (an ed25519 signing key cannot do ECDH key agreement, so it can never receive an encrypted KRL). Host registration and the fleet sign-host path reject non-P256 keys with an actionable message, and the register form now guides you to /etc/ssh/ssh_host_ecdsa_key.pub — so a host can no longer be registered in a state where it silently can’t receive its revocation list.

  • ssh: require ecdsa-sha2-nistp256 host keys, fix register-form guidance

SSH certificate UX & revocation modernisation

Adds a certificate details/delivery view on the SSH Users page, brings the host deploy panel up to date (syntax-highlighted config blocks and signed ECIES revocation in place of the obsolete unsigned-KRL cron), and fixes a theme bug that made several boxes unreadable in light mode.

  • ssh: cert details & delivery modal on the Users page — open any issued certificate to see its full details and re-download the signed *-cert.pub plus the ready-to-send delivery blocks.
  • ssh: modernise the host deploy panel — syntax-highlighted config/key blocks, and revocation guidance pointing at the signed ECIES krl-client channel instead of cron-curling the unsigned per-CA KRL.
  • frontend: bind Tailwind’s dark: variant to the theme class, so an OS-dark user on the light theme no longer sees unreadable dark-mode text on light backgrounds (and vice-versa).
  • frontend: order issued SSH certificates newest-first by serial.
  • security: resolve all 141 Trivy code-scanning alerts
  • openapi: document request/response schemas for SSH & external routes
  • crypto: apply CSR extensions via node-forge setAttributes
  • deploy: proxy public SSH/KRL trust-material paths to the backend
  • openapi: hide root-mounted public routes from the /api/v1 spec
  • ssh: REST endpoints for fleet-token mint, host list, principal grant
  • ansible: grow ssh_host_cert into a full SSH-CA node (TASK-197..204, ANS-02..09)
  • ssh: fleet-token endpoint serving a host’s rendered auth_principals (TASK-196, ANS-01)
  • ci: install community.docker into the e2e _collections path
  • ansible: consume the oriolrius.pki_manager collection (single source of truth)
  • auth: auto-refresh the manual OIDC access token to stop idle 401s (TASK-193)
  • ssh-ui: add live search filter to hosts and users lists
  • ssh-ui: clearer KRL enforcement-state labels and tooltips
  • ui: searchable Combobox with in-menu search; use for block-host selector
  • ssh-ui: redesign identity “Access blocks” section for clarity
  • frontend: add success/error toasts to silent mutations; drop redundant success modal
  • frontend: replace native pop-ups with themed toasts/dialogs; enrich SSH cert table
  • krl-client: report installed KRL number on 304/error runs (TASK-192)
  • ssh: record block actor as identity not IP; show full timestamp
  • backend: re-seed the ssh_krl_seq allocator row at startup
  • frontend: allow lifting a per-host user block from the users page
  • backend: make the prod build full-strict so Docker images compile again
  • ssh: optional flag-gated issuance gate — zero-window blocks (TASK-190)
  • ssh: Host Access card + Users blocked-on pills + KRL distribution columns (TASK-186)
  • ssh: ssh.block.* API + host-access/state read model, tRPC + REST twins (TASK-185)
  • ssh: per-host KRL state derivation + lineage metrics (TASK-184)
  • ssh: serving cutover — ECIES payload from ssh_host_krls + public per-host endpoints (TASK-183)
  • ssh: reconcile puller trust anchor — Host-CA pubkey end-to-end (TASK-187)
  • ssh: issuance + revocation triggers for per-host KRL freshness (TASK-182)
  • ssh: SshBlockService — block/unblock with sync per-host KRL regen + lifecycle (TASK-181)
  • ssh: SshHostKrlService — composed per-host KRL with global monotonic numbering (TASK-180)
  • ssh: ssh_host_blocks + ssh_host_krls schema and global KRL-number allocator (TASK-179)
  • ssh: close adversarial-review findings on the host-blocks milestone
  • ssh: stamp last_krl_fetch_at on ECIES 304 responses (TASK-178)
  • types: restore clean backend typecheck baseline + gate both workspaces in CI (TASK-191)
  • krl-client: bind anti-rollback to the signed KRL header number (TASK-175)
  • krl-client: warn on every run when TLS verification is disabled (TASK-176)
  • krl-client: bound the encrypted KRL response body size (TASK-174)
  • krl-client: finalize host agent — CLI/config/env, exit codes, logging, keygen, tests (KRLC-08..11)
  • krl-client: KRLC-07 atomic KRL install + version/state cache (pipeline complete)
  • krl-client: KRLC-06 detached CA-signature verification
  • krl-client: KRLC-05 payload parse + validation (host/expiry/version/anti-rollback)
  • krl-client: KRLC-01/03/04 scaffold + HTTP client + local ECIES decrypt
  • ssh: KRLC-02 rebuild KRL distribution to local host decrypt (retire KMS ECIES)
  • krl-client: KRLC-02a spike — native P-256 ECIES local host decrypt
  • ssh: dark-mode contrast on SSH status banners
  • ssh: add long-lived user-cert TTL presets (+1m…+10y)
  • ssh: REST parity for principals + revocation/KRL
  • ssh: REST endpoints for revocation + KRL
  • ssh: REST endpoints for principal catalog + host mapping
  • ssh: SSH onboarding guides — deploy bundle, guided UI, docs
  • ssh: guided discovery — checklist, principal cross-check, callouts (P2)
  • ssh: per-host deploy bundle + corrected user-cert handoff (P1)
  • ssh: serve User CA KRL for RevokedKeys + fix landing cert query
  • ssh: single source of truth for on-host paths/filenames (P0)
  • kms: honor requested certificate validity (daysValid)
  • ssh: integrate SSH-CA feature (v3.0.0) into main
  • ssh: build cleanly under relaxed prod tsconfig (unblock v3.0.0 image)
  • certs: wire CDP/regeneration into cert paths + enable ECDSA leaf certs & EC export (TASK-116,157,158)
  • crl: sign CRLs with the CA key, serve over HTTP, and resolve CA key id (TASK-110..116)
  • k8s: auto-approve cert-manager CertificateRequests via approver RBAC (TASK-109.23)
  • k8s: sign external CSRs via KMS certify; drop offline path (TASK-109.22)
  • k8s: browser-reachable in-cluster deploy via ingress-nginx
  • k8s: full in-cluster e2e — PKI Manager + KMS + cert-manager + issuer in kind
  • k8s: metrics, revoke-on-delete, signer tests, CI, source filter
  • k8s: cert-manager external issuer controller (Go)
  • ui: clusters management page
  • k8s: implement CSR signing in /api/v1/external/sign
  • k8s: backend foundation for cert-manager external issuer
  • ssh: Phase 6 operator console frontend (SSH-25..30)
  • ssh: Phase 7c Ansible role + API contract docs (SSH-31)
  • ssh: Phase 7a lifecycle (SSH-32a/b/c)
  • ssh: Phase 5c rate limiting + monitoring (SSH-MON)
  • ssh: Phase 5b ECIES KRL distribution (SSH-23, 15, 24)
  • ssh: Phase 5a KRL encode/build/serve (SSH-20, 21, 22)
  • ssh: Phase 4c fleet tokens + bulk (SSH-19, SSH-BULK)
  • ssh: Phase 4b REST + public downloads (SSH-18)
  • ssh: Phase 4a tRPC API + fail-closed authz (SSH-16, 17, 34)
  • ssh: Phase 3 services (SSH-10, IMPORT, 11, 12, 13, 14)
  • ssh: Phase 2 data model + migrations (SSH-05..09)
  • ssh: Phase 1 crypto foundation (SSH-01..04)
  • ssh: complete SSH-00 + SSH-SENS Phase-0 spikes
  • k8s: remove unreachable code in certificaterequest_controller (TASK-109.24)
  • backend: cert detail page works for offline-signed (k8s) certs
  • frontend: UserMenu crash when OIDC disabled
  • k8s: make e2e on kind actually pass
  • dashboard: add Dual (mTLS) to expiring items type enum
  • add dual certificate type for mTLS (serverAuth + clientAuth)
  • add dual certificate type to remaining files
  • cli: add Python CLI tool for PKI Manager API
  • api: include X.509 extensions with SANs in certificate issuance
  • move CLI to separate repository
  • api: add OpenAPI YAML endpoint
  • e2e: add local Docker-based E2E testing environment
  • e2e: fix OIDC networking for Docker E2E environment
  • Regular users can no longer create CAs. Only users with the admin role can create Certificate Authorities.
  • rbac: require admin role for CA creation
  • tests: improve CA creation test to properly capture API response
  • rbac: add explicit admin role check in CA create mutation
  • docker: correct GHCR image names in docker-compose
  • auth: use async storage key in getAccessToken for tRPC client
  • auth: use async storage key for token validation
  • auth: use async config in callback route for token exchange
  • auth: support runtime OIDC config from config.json
  • auth: fix TypeScript errors and auth behavior when OIDC disabled
  • ci: update pnpm-lock.yaml with OIDC dependencies
  • auth: add OIDC authentication to REST API endpoints
  • auth: support multiple OIDC audiences for M2M authentication
  • certificates: allow hostname as client certificate CN
  • auth: implement complete OIDC authentication flow
  • auth: migrate tRPC procedures to protected/admin
  • auth: inject Bearer token in tRPC client headers
  • auth: add protected route layout with auth guards
  • auth: add silent token renewal via hidden iframe
  • auth: add UserMenu component with login/logout controls
  • auth: add OIDC callback route for token exchange
  • auth: add AuthProvider with OIDC configuration to frontend
  • auth: add OIDC dependencies to frontend
  • auth: add OIDC configuration to backend environment
  • auth: add protected and admin procedure types to tRPC
  • auth: add OIDC authentication infrastructure for backend
  • keycloak: add default roles to users for Account Console access
  • keycloak: add Keycloak development environment with validation tests
  • ca: add CA download support for truststore and keystore formats
  • add basicConstraints and keyUsage extensions to CA certificates
  • resolve certificate/key mismatch in P12/JKS downloads
  • use runtime config for API docs page URL
  • update pnpm-lock.yaml for swagger-ui-react dependency
  • add OpenAPI documentation page with SwaggerUI
  • add progress feedback UI for bulk operations and auto-revoke on renew
  • add force delete and in-app dialogs for KMS inconsistency handling
  • handle KMS/DB inconsistency errors with HTTP 409 CONFLICT
  • implement utility REST endpoints with proper test cleanup
  • implement bulk operations REST endpoints with test cleanup
  • add REST API certificate routes with download support
  • add JKS service for Java KeyStore generation
  • add CA REST endpoints with tests and OpenAPI integration
  • split JKS download into Keystore and Truststore options
  • jks: improve JKS download with CA certificates and UX enhancements
  • frontend: add runtime API URL configuration
  • use npm for frontend Docker build to resolve pnpm binary issues
  • resolve duplicate ServiceContext export and auto-start KMS for tests
  • add password field and validation for JKS Truststore bulk download
  • show password field for JKS Truststore format
  • add afterAll cleanup to ca-create.test.ts
  • backend: load .env file in dev script
  • ci: correct package path for SHA256 cleanup
  • use shared CA and CRL services in tRPC procedures
  • use shared JKS service in tRPC procedures
  • docker: consolidate nginx config and improve frontend setup
  • ci: use short SHA format for Docker tags
  • docker: add production Docker stack with GitHub CI/CD
  • ci: use static SHA prefix for Docker tags
  • ci: add attestations write permission for build provenance
  • docker: reorganize Docker files into docker/ folder
  • add comprehensive documentation and screenshot testing
  • ui: increase dark mode contrast for better visibility
  • certificates: add optional encryption for private key exports
  • bulk-certs: add CA selection persistence with localStorage
  • certificates: add comprehensive download format support with private key export
  • ui: display version number below PKI Manager header
  • dashboard: add engaging informational banner
  • ca: add certificate download permalinks with multi-format support
  • Implement certificate renewal endpoint (task-015)
  • Implement certificate detail retrieval endpoint (task-014)
  • Implement certificate listing with OpenAPI 3.0.3 integration (task-013)
  • Implement server certificate issuance (task-012)
  • Implement complete CA management backend endpoints (tasks 7-11)
  • Implement X.509 certificate generation utilities (task-006)
  • Implement Cosmian KMS client integration (task-005)
  • Initialize PKI Manager full-stack application
  • ui: improve dark mode styling in bulk certificates section
  • ui: read version number from root package.json instead of hardcoded value

PKI Manager is a personal project of Oriol Rius, built for his own use. It is not a commercial product. About this project