PiKVM HTTPS & Certificate Authority Management Plugin (Extra)
- Python 64%
- JavaScript 23.1%
- HTML 5.6%
- CSS 4.4%
- Shell 2.9%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| extras/certmgr | ||
| kvmd_certmgr | ||
| systemd | ||
| tests | ||
| web/extras/certmgr | ||
| .gitignore | ||
| GEMINI.md | ||
| install.sh | ||
| kvmd-certmgr-thirdparty.install | ||
| PKGBUILD | ||
| pyproject.toml | ||
| README.md | ||
| setup.py | ||
| uninstall.sh | ||
PiKVM HTTPS & Certificate Authority Manager (kvmd-certmgr-thirdparty)
A PiKVM Extra (extras/certmgr) that provides a Web UI on the PiKVM main page (HTTPS / SSL) and a local Unix-socket service (kvmd-certmgr.service) for managing, creating, renewing, and syncing browser-compliant Root CA and Server TLS certificates.
Features
- Main Page UI Presence: Registers
/usr/share/kvmd/extras/certmgr/manifest.yaml(place: 25) so an HTTPS / SSL tile appears directly on the PiKVM index page. - Personalized Information: Configure Country (
C), State (ST), Locality (L), Organization (O), Organizational Unit (OU), Root CA Common Name, Server Common Name (CN), Email, SAN DNS Names, and SAN IPv4/IPv6 Addresses. Persisted in/etc/kvmd/nginx/ssl/certmgr.json. - Generate CA Certificate: Generates a 4096-bit RSA Root CA (
v3_ca, 10-year validity, X.509nameConstraints) and immediately signs and installs an initial 2048-bit Server TLS fullchain certificate (365-day validity,serverAuthEKU, SANs). - Replace CA Certificate (With Confirmation Gate): Protected behind a collapsible Danger Zone and a modal dialog requiring an explicit acknowledgment checkbox and typing
REPLACE CAbefore overwriting the Root CA. - Replace Server Certificate: Issues a fresh Server TLS Certificate signed by the existing Root CA whenever your PiKVM's IP address or DNS hostname changes, without invalidating client CA trust stores.
- Multi-Device Fleet CA Sync: Pull the Root CA directly from another PiKVM over HTTPS (with optional SHA-256 fingerprint pinning) or export/import a CA bundle so one trusted Root CA covers all PiKVM units on your LAN.
- Download CA Certificate & OS Trust Guides: One-click download in DER (
.crt) or PEM (.pem) format, accompanied by documentation links for Windows, Ubuntu, macOS, RHEL, Arch, Chrome, Firefox, iOS, and Android.
Installation on PiKVM
Via pacman
rw
pacman -S kvmd-certmgr-thirdparty
ro
From Source (makepkg)
git clone https://github.com/adamoutler/kvmd-certmgr-thirdparty.git
cd kvmd-certmgr-thirdparty
makepkg -si
Running Tests
PYTHONPATH=. pytest -v