Skip to content

Instantly share code, notes, and snippets.

@xiaoxin01
xiaoxin01 / cloudSettings
Last active April 20, 2020 14:28
cloudSettings
cloudSettings
@xiaoxin01
xiaoxin01 / README.md
Created August 3, 2018 01:17 — forked from superseb/README.md
Generate self signed certificates for Rancher 2.0

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 \