Merge "Move certificate setup earlier in deployment"
This commit is contained in:
commit
3c251b8023
1
lib/tls
1
lib/tls
@ -201,7 +201,6 @@ subjectAltName = \$ENV::SUBJECT_ALT_NAME
|
||||
# Create root and intermediate CAs
|
||||
# init_CA
|
||||
function init_CA {
|
||||
fix_system_ca_bundle_path
|
||||
# Ensure CAs are built
|
||||
make_root_CA $ROOT_CA_DIR
|
||||
make_int_CA $INT_CA_DIR $ROOT_CA_DIR
|
||||
|
14
stack.sh
14
stack.sh
@ -809,6 +809,13 @@ if is_service_enabled cinder nova; then
|
||||
install_os_brick
|
||||
fi
|
||||
|
||||
# Setup TLS certs
|
||||
if is_service_enabled tls-proxy || [ "$USE_SSL" == "True" ]; then
|
||||
configure_CA
|
||||
init_CA
|
||||
init_cert
|
||||
fi
|
||||
|
||||
# Install middleware
|
||||
install_keystonemiddleware
|
||||
|
||||
@ -881,14 +888,9 @@ if is_service_enabled heat; then
|
||||
fi
|
||||
|
||||
if is_service_enabled tls-proxy || [ "$USE_SSL" == "True" ]; then
|
||||
configure_CA
|
||||
init_CA
|
||||
init_cert
|
||||
# Add name to ``/etc/hosts``.
|
||||
# Don't be naive and add to existing line!
|
||||
fix_system_ca_bundle_path
|
||||
fi
|
||||
|
||||
|
||||
# Extras Install
|
||||
# --------------
|
||||
|
||||
|
@ -45,6 +45,7 @@ DEVSTACK_CERT=$DATA_DIR/$DEVSTACK_CERT_NAME.pem
|
||||
|
||||
# Make sure the CA is set up
|
||||
configure_CA
|
||||
fix_system_ca_bundle_path
|
||||
init_CA
|
||||
|
||||
# Create the server cert
|
||||
|
Loading…
Reference in New Issue
Block a user