Merge "Add the IPv6 IP to the TLS cert"

This commit is contained in:
Zuul 2019-08-15 11:23:56 +00:00 committed by Gerrit Code Review
commit 3ff4f9ebed
1 changed files with 3 additions and 0 deletions

View File

@ -234,6 +234,9 @@ function init_cert {
# see https://bugs.python.org/issue23239
TLS_IP="DNS:$TLS_IP,IP:$TLS_IP"
fi
if [[ -n "$HOST_IPV6" ]]; then
TLS_IP="$TLS_IP,IP:$HOST_IPV6"
fi
fi
make_cert $INT_CA_DIR $DEVSTACK_CERT_NAME $DEVSTACK_HOSTNAME "$TLS_IP"