summaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
authorMatteo Cafasso <noxdafox@gmail.com>2018-11-24 17:20:23 +0200
committerMatteo Cafasso <noxdafox@gmail.com>2018-11-24 17:20:23 +0200
commit11002abb8cbf71cea43519fde9efed7cbb87c4ef (patch)
tree6429a72c9e26bcf84a3dc4f493a3251794ee6059 /priv
parenteb1b636645bf5a02361ade0821c7c96e77ecf966 (diff)
parent0c7c7d960c8ca54b5b29c06d295acef0bc9f3c7a (diff)
downloadrabbitmq-server-git-11002abb8cbf71cea43519fde9efed7cbb87c4ef.tar.gz
Merge branch 'master' of github.com:rabbitmq/rabbitmq-server
Diffstat (limited to 'priv')
-rw-r--r--priv/schema/rabbit.schema17
1 files changed, 12 insertions, 5 deletions
diff --git a/priv/schema/rabbit.schema b/priv/schema/rabbit.schema
index a7eaed2654..9cee795296 100644
--- a/priv/schema/rabbit.schema
+++ b/priv/schema/rabbit.schema
@@ -35,7 +35,7 @@ fun(Conf) ->
end
end}.
-%% SSL listeners are configured in the same fashion as TCP listeners,
+%% TLS listeners are configured in the same fashion as TCP listeners,
%% including the option to control the choice of interface.
%%
%% {ssl_listeners, [5671]},
@@ -129,7 +129,7 @@ fun(Conf) ->
end
end}.
-%% Configuring SSL.
+%% TLS options.
%% See http://www.rabbitmq.com/ssl.html for full documentation.
%%
%% {ssl_options, [{cacertfile, "/path/to/testca/cacert.pem"},
@@ -138,8 +138,6 @@ end}.
%% {verify, verify_peer},
%% {fail_if_no_peer_cert, false}]},
-%% SSL options section ========================================================
-
{mapping, "ssl_allow_poodle_attack", "rabbit.ssl_allow_poodle_attack",
[{datatype, {enum, [true, false]}}]}.
@@ -251,7 +249,16 @@ end}.
{translation, "rabbit.ssl_options.versions",
fun(Conf) ->
Settings = cuttlefish_variable:filter_by_prefix("ssl_options.versions", Conf),
- [ V || {_, V} <- Settings ]
+ [V || {_, V} <- Settings]
+end}.
+
+{mapping, "ssl_options.ciphers.$cipher", "rabbit.ssl_options.ciphers",
+ [{datatype, string}]}.
+
+{translation, "rabbit.ssl_options.ciphers",
+fun(Conf) ->
+ Settings = cuttlefish_variable:filter_by_prefix("ssl_options.ciphers", Conf),
+ [V || {_, V} <- Settings]
end}.
%% ===========================================================================