Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【CA】How to build your own Certificate Authority #74

Open
mylamour opened this issue Mar 21, 2020 · 0 comments
Open

【CA】How to build your own Certificate Authority #74

mylamour opened this issue Mar 21, 2020 · 0 comments
Labels
学习 learning 安全 security

Comments

@mylamour
Copy link
Owner

image

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:

  1. GUI
  2. API
  3. CLI

And finally, you would see that:

Screen Shot 2020-03-21 at 2 06 13 PM

Screen Shot 2020-03-21 at 2 08 51 PM

Screen Shot 2020-03-21 at 2 11 51 PM

With Openssl

$ 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

Screen Shot 2020-03-21 at 2 24 14 PM

Screen Shot 2020-03-21 at 2 25 51 PM

Screen Shot 2020-03-21 at 2 49 16 PM

Resources

@mylamour mylamour added 学习 learning 安全 security labels Mar 21, 2020
@mylamour mylamour changed the title How to build your own Certificate Authority 【CA】How to build your own Certificate Authority Mar 21, 2020
@mylamour mylamour closed this as completed Apr 4, 2021
@mylamour mylamour reopened this Apr 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
学习 learning 安全 security
Projects
None yet
Development

No branches or pull requests

1 participant