NodePKI is a simple NodeJS based PKI manager for small corporate environments.
- Auto-create a PKI with root CA and intermediate CA
- Request new certificates
- List available certificates
- Download issued certificate files
- Revoke issued certificate
- OSCP server
- CRL HTTP server
- Linux OS
- NodeJS
- NPM
- OpenSSL
The recommended way to run NodePKI is to make use of the NodePKI Docker image. Find more information here: NodePKI Docker image
git clone https://github.com/aditosoftware/nodepki.git
cd nodepki
npm install
There is an example config file "config.yml.default" which can be copied to "config.yml". Change config.yml to fit your environment. The passwords defined in config.yml will be used to create the PKI.
Start your API server:
nodejs server.js
CA files in data/mypki will be created on first startup.
nodejs nodepkictl useradd --username user1 --password user1password
nodejs nodepkictl userdel --username user1
For information on how to use the API, read API.md
Use nodepki-client to request certificates and manage your PKI. If you prefer using a GUI, consider using nodepki-webclient.