summaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
authorLuke Bakken <luke@bakken.io>2018-10-23 16:01:40 -0700
committerGitHub <noreply@github.com>2018-10-23 16:01:40 -0700
commit5d28e8ca2207b68e60c17e133e6c9074e4517734 (patch)
tree1f20fdf936de0e5fa2621bd06f3bbe5d08603a72 /priv
parentaad01b4bac34c6198906fce36ad39e71256d8ba8 (diff)
parent81ea5ad37bf61a073cdd5ff3141cd92843dde156 (diff)
downloadrabbitmq-server-git-5d28e8ca2207b68e60c17e133e6c9074e4517734.tar.gz
Merge pull request #1745 from rabbitmq/rabbitmq-server-1712
Expose cipher configuration to new style config format
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}.
%% ===========================================================================