NDNts Personal CA creates an NDN Certificate Authority for all your end hosts. It is great for:
- A power user who has multiple end hosts.
- A webapp developer that wants to provide NDN certificates to website visitors.
System requirements:
- Node.js 20.x
- Windows 10, Debian 12, or Ubuntu 22.04
Setup steps:
- Clone the repository.
- Execute
corepack pnpm install
. - Run
corepack pnpm start
, orpm2 start ecosystem.config.js
for production deployment with PM2. - Visit
http://localhost:8722/
in a web browser. - If using PM2, you have to manually restart the service with
pm2 restart ecosystem.config.js
after changing CA profile.
To obtain an NDN testbed certificate and start issuing sub-certificates:
- Go to "keychain" page, create a key within testbed name hierarchy.
- Click "request cert" to request a certificate from testbed CA.
- Go to "create new CA profile" page, and select the testbed certificate.
You can then obtain sub-certificates from this Personal CA using one of these methods:
- use a NDNCERT v0.3 client
- use "submit a certificate request" page
NDNts Personal CA is built with:
This project shows how to write a Node.js application with NDNts libraries. It also demonstrates these NDNts capabilities:
- Key generation and certificate management from
@ndn/keychain
package. - NDNCERT v0.3 protocol implementation from
@ndn/ndncert
package. - Embedded repo from
@ndn/repo
package.