Created
June 14, 2018 09:05
-
-
Save canhnt/1c1e06297189283ebce8b70746dd6c1b to your computer and use it in GitHub Desktop.
Create x509 cert for k8s
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openssl req -new -key cngo.key -out cngo-csr.pem -subj "/CN=cngo/O=app1/O=infra-team" | |
openssl x509 -req -in cngo-csr.pem -CA ca.pem -CAkey ca-key.pem -CAcreateserial -out cngo.crt -days 730 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment