diff --git a/packstack/plugins/ssl_001.py b/packstack/plugins/ssl_001.py index 12405f8e2..36fac68a7 100644 --- a/packstack/plugins/ssl_001.py +++ b/packstack/plugins/ssl_001.py @@ -213,9 +213,8 @@ def create_self_signed_cert(config, messages): # for now hardcoded place for landing CACert file on servers config['CONFIG_SSL_CACERT'] = '/etc/pki/tls/certs/packstack_cacert.crt' -# if (config['CONFIG_AMQP_ENABLE_SSL'] != 'y' and -# config["CONFIG_HORIZON_SSL"] != 'y'): - if config['CONFIG_AMQP_ENABLE_SSL'] != 'y': + if (config['CONFIG_AMQP_ENABLE_SSL'] != 'y' and + config["CONFIG_HORIZON_SSL"] != 'y'): return config['CONFIG_SSL_CERT_DIR'] = os.path.expanduser(