Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable potentially vulnerable TLS versions #7

Merged
merged 1 commit into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
- rabbitmq_management

rabbitmq_config:
consumer_timeout: 3600000 # one hour in milliseconds

Check warning on line 23 in defaults/main.yml

View workflow job for this annotation

GitHub Actions / Lint

23:29 [comments] too few spaces before comment
listeners:
tcp: none
ssl_listeners:
Expand All @@ -31,6 +31,9 @@
keyfile: /etc/ssl/user/privkey-rabbitmq.pem
verify: verify_peer
fail_if_no_peer_cert: 'false'
versions:
- tlsv1.3
- tlsv1.2
management_agent:
disable_metrics_collector: 'false'
management:
Expand Down
3 changes: 3 additions & 0 deletions templates/rabbitmq.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ ssl_options.cacertfile = {{ rabbitmq_config.ssl_options.cacertfile }}
ssl_options.certfile = {{ rabbitmq_config.ssl_options.certfile }}
ssl_options.keyfile = {{ rabbitmq_config.ssl_options.keyfile }}
ssl_options.verify = {{ rabbitmq_config.ssl_options.verify}}
{% for version in rabbitmq_config.ssl_options.versions %}
ssl_options.versions.{{ loop.index }} = {{ version }}
{% endfor %}
ssl_options.fail_if_no_peer_cert = {{ rabbitmq_config.ssl_options.fail_if_no_peer_cert }}

{% if rabbitmq_setup == "cluster" %}
Expand Down
Loading