1
0
mirror of https://github.com/rancher/os.git synced 2025-09-09 02:31:36 +00:00

move tlsconf to rancherctl

This commit is contained in:
sidharthamani
2015-02-21 13:31:10 -08:00
parent 33d636930b
commit 0b31dc7e3b
4 changed files with 57 additions and 41 deletions

View File

@@ -32,7 +32,7 @@ if [ "$USE_TLS" == "true" ]; then
echo "$TLS_SERVER_CERT" > $TLS_PATH/server-cert.pem
echo "$TLS_SERVER_KEY" > $TLS_PATH/server-key.pem
else
tlsconf
rancherctl tlsconf create
TLS_CA_CERT="$(cat $TLS_PATH/ca.pem)"
TLS_SERVER_CERT="$(cat $TLS_PATH/server-cert.pem)"
TLS_SERVER_KEY="$(cat $TLS_PATH/server-key.pem)"