Skip to content

Instantly share code, notes, and snippets.

Avatar

superxin xiaoxin01

View GitHub Profile
@xiaoxin01
xiaoxin01 / README.md
Created Aug 3, 2018 — forked from superseb/README.md
Generate self signed certificates for Rancher 2.0
View README.md

Generate self signed certificates for Rancher 2.0

Generate certificates

docker run -v $PWD/certs:/certs \
  -e SSL_SUBJECT=test.example.com \
  -e SSL_DNS=test2.example.com,test3.example.com \
  -e SSL_IP=10.0.0.1 \
  -e K8S_SAVE_CA_CRT=true \