Run your own certificate authorities
PKI Manager is a self-hosted web application for X.509 and SSH certificates. You create a certificate authority, issue and revoke certificates in a browser, and let Kubernetes, devices and scripts request certificates by themselves. Private keys are made and kept in a key management system.
A personal project, not a product. I built it for my own use, and nothing is for sale. About this project
What it is for
A public certificate authority cannot sign a name that exists only inside your network, and it does not sign your SSH logins. PKI Manager is for those cases:
- Internal HTTPS. Give
portal.acme.examplea certificate that your browsers accept, because they trust your own root CA. - Clients that prove who they are. Give each device or service a client certificate, and take it away again with a revocation list that the server checks.
- SSH logins without copied keys. Sign SSH certificates for people and for servers. Nobody adds
public keys to
authorized_keysfiles, and nobody answers “yes” to an unknown host fingerprint. - Certificates that renew by themselves. cert-manager in Kubernetes, devices that speak SCEP and your own scripts request certificates with a token.
You can do all of this with openssl and shell scripts. PKI Manager replaces the scripts with one
place that knows what was issued, for whom, when it expires, and who revoked it.
What PKI Manager does
Eight capabilities. Each page says what you can do, how it works, and what it does not do.
Certificates for servers, services and people
Your own X.509 certificate authority, from the root CA to the revocation list.
- Certificate authorities
Create your own root certificate authorities. The key of each CA is made inside the KMS and stays there.
- Certificates
Issue, renew and download certificates for servers, clients, email and code signing, one at a time or many at once.
- Revocation and CRLs
Revoke a certificate and publish a signed revocation list that servers and clients can check.

SSH access with certificates
A certificate authority for SSH logins, so that servers trust people and people trust servers without copying keys.
- SSH certificate authority
Sign SSH certificates for people and for servers. Servers trust a CA, not a list of public keys, and clients trust a CA, not a fingerprint.

Machines that ask by themselves
Kubernetes, devices and scripts request certificates with a token. No person clicks.
- Kubernetes with cert-manager
cert-manager asks PKI Manager for certificates. Your cluster gets certificates from your own CA and renews them without you.
- Device enrollment (SCEP)
An optional SCEP gateway lets managed phones, laptops and network devices enroll for a client certificate.
- Automation and API
Everything in the web UI is also in a REST API. Scripts and services get their own token, bound to one CA.

Keys, login and records
Where the private keys live, who can do what, and how you find out who did it.
- Keys, login and audit
Private keys live in a KMS, people log in with your identity provider, and each change is written to an audit log.
How it works
The parts of PKI Manager, where each private key lives, and what happens when you issue or revoke a certificate.
- The KMS makes the private keys and signs the certificates.
- The database has certificates and key ids. It has no private keys.
- You run three containers with Docker Compose. All data is in two folders.
