Initial Commit
This commit is contained in:
commit
b2b2f7c06e
2 changed files with 42 additions and 0 deletions
23
readme.md
Normal file
23
readme.md
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Runelab CA
|
||||
|
||||
A certificate authority for the homelab.
|
||||
|
||||
The master key is a yubikey kept in a physical vault at a bank.
|
||||
|
||||
## Signing
|
||||
|
||||
### Required Software
|
||||
|
||||
* OpenSSL
|
||||
* [YKCS11](https://developers.yubico.com/yubico-piv-tool/YKCS11/)
|
||||
* [AUR Link](https://aur.archlinux.org/packages/ykcs11-p11-kit-module)
|
||||
|
||||
### Generating the Root
|
||||
|
||||
```sh
|
||||
# Creating the CSR
|
||||
openssl req -new -engine pkcs11 -keyform engine -key "pkcs11:object=Private key for PIV Authentication" -out server.csr
|
||||
# Signing the CSR
|
||||
openssl x509 -req -sha256 -days 8000 -in server.csr -engine pkcs11 -keyform engine -signkey "pkcs11:object=Private key for PIV Authentication" -out server.crt
|
||||
```
|
||||
|
19
runelab-ca-root.crt
Normal file
19
runelab-ca-root.crt
Normal file
|
@ -0,0 +1,19 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIIDGzCCAgMCFEUnoKvAlZ5dFFciSfh5jhq7GqkIMA0GCSqGSIb3DQEBCwUAMEox
|
||||
CzAJBgNVBAYTAkNIMQ8wDQYDVQQIDAZadXJpY2gxEDAOBgNVBAoMB1J1bmVsYWIx
|
||||
GDAWBgNVBAMMD1J1bmVsYWIgQ0EgUm9vdDAeFw0yMzExMTkyMjQ3NTdaFw00NTEw
|
||||
MTQyMjQ3NTdaMEoxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIDAZadXJpY2gxEDAOBgNV
|
||||
BAoMB1J1bmVsYWIxGDAWBgNVBAMMD1J1bmVsYWIgQ0EgUm9vdDCCASIwDQYJKoZI
|
||||
hvcNAQEBBQADggEPADCCAQoCggEBAM7UXqiRcojtO2mkTAfz94xhvYsTEXMrs9J2
|
||||
b7tV9f6PidXX8uBnr9JQ1yeD8ldh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