Skip to content

Instantly share code, notes, and snippets.

@canhnt
Created June 14, 2018 09:05
Show Gist options
  • Save canhnt/1c1e06297189283ebce8b70746dd6c1b to your computer and use it in GitHub Desktop.
Save canhnt/1c1e06297189283ebce8b70746dd6c1b to your computer and use it in GitHub Desktop.
Create x509 cert for k8s
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