Skip to content

Commit

Permalink
Dont use default ca-cert for webui
Browse files Browse the repository at this point in the history
Use of default leads to overwrite of
default ca cert wich breaks ssl.

Change-Id: Ie1778409907c6215f85e2329e1b92c08e09bef03
Closes-Bug: #1791992
  • Loading branch information
alexey-mr committed Sep 18, 2018
1 parent b4dc62f commit c6d2590
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions containers/controller/webui/base/entrypoint.sh
Expand Up @@ -13,8 +13,9 @@ function get_server_json_list(){
}

function init_tls() {
SSL_ENABLE=true SERVER_CERTFILE="$WEBUI_SSL_CERT_FILE" \
SERVER_KEYFILE="$WEBUI_SSL_KEY_FILE" SERVER_CA_KEYFILE='' /certs-init.sh
SSL_ENABLE=true \
SERVER_CERTFILE="$WEBUI_SSL_CERT_FILE" SERVER_KEYFILE="$WEBUI_SSL_KEY_FILE" \
SERVER_CA_KEYFILE='' SERVER_CA_CERTFILE='' /certs-init.sh
}

init_tls
Expand Down

0 comments on commit c6d2590

Please sign in to comment.