Compare commits
No commits in common. "0c00cb0c2b166212df067062d710e3e980f0bf04" and "9fedaa045e00d3aa9cd06c9b450bae3bca0e472b" have entirely different histories.
0c00cb0c2b
...
9fedaa045e
1 changed files with 10 additions and 12 deletions
22
readme.md
22
readme.md
|
@ -3,28 +3,26 @@
|
||||||
A certificate authority for the HomeLab.
|
A certificate authority for the HomeLab.
|
||||||
|
|
||||||
The setup was mostly done by following these two guides:
|
The setup was mostly done by following these two guides:
|
||||||
|
* [Jamie Nguyen's OpenSSL CA guide](https://jamielinux.com/docs/openssl-certificate-authority/introduction.html)
|
||||||
- [Jamie Nguyen's OpenSSL CA guide](https://jamielinux.com/docs/openssl-certificate-authority/introduction.html)
|
* [Mour's](https://github.com/mylamour) [blog post Jamie's guide using an HSM](https://github.com/mylamour/blog/issues/80)
|
||||||
- [Mour's](https://github.com/mylamour) [blog post Jamie's guide using an HSM](https://github.com/mylamour/blog/issues/80)
|
|
||||||
|
|
||||||
## Notes of precaution
|
## Notes of precaution
|
||||||
|
|
||||||
- The root key is a yubikey kept in a physical vault at a bank in Switzerland.
|
* The root key is a yubikey kept in a physical vault at a bank in Switzerland.
|
||||||
|
* All signings are done on an airgapped machine in a live-boot environment.
|
||||||
|
* This repo is transferred on and off the signing machine with a regular usb drive.
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
### Required Software
|
### Required Software
|
||||||
|
|
||||||
- OpenSSL
|
* OpenSSL
|
||||||
- libp11
|
* libp11
|
||||||
- [YKCS11](https://developers.yubico.com/yubico-piv-tool/YKCS11/)
|
* [YKCS11](https://developers.yubico.com/yubico-piv-tool/YKCS11/)
|
||||||
- [AUR Link](https://aur.archlinux.org/packages/ykcs11-p11-kit-module)
|
*[AUR Link](https://aur.archlinux.org/packages/ykcs11-p11-kit-module)
|
||||||
|
|
||||||
**macOS note:** openssl installed via homebrew does not pickup on libp11, you need to manually copy the pkcs11 library (update the versions):
|
**macOS note:** openssl installed via homebrew does not pickup on libp11, you need to manually copy the pkcs11 library (update the versions):
|
||||||
|
`cp /opt/homebrew/Cellar/libp11/0.4.12/lib/engines-3/pkcs11.dylib /opt/homebrew/Cellar/openssl@3/3.2.1/lib/engines-3/`
|
||||||
```sh
|
|
||||||
cp /opt/homebrew/Cellar/libp11/0.4.12/lib/engines-3/pkcs11.dylib /opt/homebrew/Cellar/openssl@3/3.2.1/lib/engines-3/
|
|
||||||
```
|
|
||||||
|
|
||||||
### Environment Variables
|
### Environment Variables
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue