【CA】How to build your own Certificate Authority

With Vault
Actually, i don’t want repeat it again. so, please follow this documents: https://learn.hashicorp.com/vault/secrets-management/sm-pki-engine
You have three choices:
- GUI
- API
- CLI
And finally, you would see that:



With Openssl
1 2 3 4 5
| $ openssl genrsa -des3 -out rootCA.key 4096 $ openssl req -x509 -new -nodes -key rootCA.key -sha256 -days 1024 -out rootCA.crt $ openssl genrsa -out 91sec.vip.key 2048 $ openssl req -new -key 91sec.vip.key -out 91sec.vip.csr $ openssl x509 -req -in 91sec.vip.csr -CA rootCA.crt -CAkey rootCA.key -CAcreateserial -out 91sec.vip.crt -days 500 -sha256
|



Resources