Merge "rabbitmq: default to using TLS for management user interface"
This commit is contained in:
@@ -137,3 +137,6 @@ repo_service_user_name: nginx
|
|||||||
repo_service_group_name: www-data
|
repo_service_group_name: www-data
|
||||||
venv_build_host_user_name: "{{ repo_service_user_name }}"
|
venv_build_host_user_name: "{{ repo_service_user_name }}"
|
||||||
venv_build_host_group_name: "{{ repo_service_group_name }}"
|
venv_build_host_group_name: "{{ repo_service_group_name }}"
|
||||||
|
|
||||||
|
# Set RabbitMQ management UI to use TLS
|
||||||
|
rabbitmq_management_ssl: true
|
||||||
|
|||||||
@@ -458,9 +458,11 @@ haproxy_placement_service:
|
|||||||
haproxy_rabbitmq_service:
|
haproxy_rabbitmq_service:
|
||||||
haproxy_service_name: rabbitmq_mgmt
|
haproxy_service_name: rabbitmq_mgmt
|
||||||
haproxy_backend_nodes: "{{ groups['rabbitmq'] | default([]) }}"
|
haproxy_backend_nodes: "{{ groups['rabbitmq'] | default([]) }}"
|
||||||
haproxy_ssl: False
|
haproxy_ssl: "{{ rabbitmq_management_ssl | bool }}"
|
||||||
|
haproxy_backend_ssl: "{{ rabbitmq_management_ssl | bool }}"
|
||||||
|
haproxy_backend_ca: False
|
||||||
haproxy_bind: "{{ [internal_lb_vip_address] }}"
|
haproxy_bind: "{{ [internal_lb_vip_address] }}"
|
||||||
haproxy_port: 15672
|
haproxy_port: "{{ (rabbitmq_management_ssl | bool) | ternary(15671, 15672) }}"
|
||||||
haproxy_balance_type: http
|
haproxy_balance_type: http
|
||||||
haproxy_backend_options:
|
haproxy_backend_options:
|
||||||
- "httpchk HEAD / HTTP/1.0\\r\\nUser-agent:\\ osa-haproxy-healthcheck"
|
- "httpchk HEAD / HTTP/1.0\\r\\nUser-agent:\\ osa-haproxy-healthcheck"
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
The RabbitMQ management interface surfaced via HAProxy defaults to using
|
||||||
|
TLS from the Yoga release. Note that when using TLS the default port
|
||||||
|
switches from 15672 to 15671. TLS can be disabled if required by adjusting
|
||||||
|
'rabbitmq_management_ssl'.
|
||||||
Reference in New Issue
Block a user