Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
delphian authored Feb 4, 2020
1 parent 1ef9d63 commit 6b643b2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ __***For HomeLab Experimentation Only***__
* Copy Intermediate CA certificate to ca-public.guardtone.com:/root/ca/intermediate/public/certs

### Box: ca-public.guardtone.com (Online Intermediate _Public_ CA)
* Create OCSP CA private key and sign certificate for 3650 days using `ocsp` config file options, then review certificate. ___CN must be `ocsp.ca-public.guardtone.com`___
* Create OCSP CA private key and sign for 3650 days using `ocsp` config file options, then review certificate. ___CN must be `ocsp.ca-public.guardtone.com`___
```bash
sudo openssl ecparam -genkey -name secp384r1 \
| openssl ec -aes256 -out "/root/ca/intermediate/public/private/ocsp.ca-public.guardtone.com.key.pem"
Expand All @@ -173,18 +173,20 @@ __***For HomeLab Experimentation Only***__
-key "/root/ca/intermediate/public/private/ca-public.guardtone.com.key.pem" \
-out "/root/ca/intermediate/public/certs/ocsp.ca-public.guardtone.com.crt.pem"
sudo openssl x509 -noout -text -in "/root/ca/intermediate/public/certs/ocsp.ca-public.guardtone.com.crt.pem"
* Create CRL host private key and sign certificate for 3650 days using `server_cert` config file options, then review certificate. ___CN must be `crl.ca-public.guardtone.com`___
* Create CRL host private key and sign for 3650 days using `server_cert` config file options, then review certificate. ___CN must be `crl.ca-public.guardtone.com`___
```bash
sudo openssl ecparam -genkey -name secp384r1 \
| openssl ec -aes256 -out "/root/ca/intermediate/public/private/crl.ca-public.guardtone.com.key.pem"
sudo openssl req -config "./intermediate_ca_public_openssl.cnf" \
-new -x509 -sha384 -extensions ocsp -days 3650
-key "/root/ca/intermediate/public/private/ca-public.guardtone.com.key.pem" \
-out "/root/ca/intermediate/public/certs/crl.ca-public.guardtone.com.crt.pem"
sudo openssl x509 -noout -text -in "/root/ca/intermediate/public/certs/crl.ca-public.guardtone.com.crt.pem"
sudo openssl x509 -noout -text \
-in "/root/ca/intermediate/public/certs/crl.ca-public.guardtone.com.crt.pem"
* Create (or update) CRL
```bash
sudo openssl ca -config "./intermediate_ca_public_openssl.cnf" -gencrl -out "/root/ca/intermediate/public/crl/revoked.crl"
sudo openssl ca -config "./intermediate_ca_public_openssl.cnf" -gencrl \
-out "/root/ca/intermediate/public/crl/revoked.crl"
```
* Launch the OCSP responder with OpenSSL
```bash
Expand Down

0 comments on commit 6b643b2

Please sign in to comment.