diff options
| author | Michael Klishin <michael@novemberain.com> | 2017-02-16 18:23:07 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-16 18:23:07 +0300 |
| commit | a439b5f851380b5518e3a212cd31ac73db823c32 (patch) | |
| tree | 576d8132085f0eabf12a8530f1ca1dea7142ffd9 | |
| parent | 3b9953647e49883d64d6f205e2ec05c2440a301f (diff) | |
| parent | 305d042a7127ae96fb0899e81399c54f3617bf0c (diff) | |
| download | rabbitmq-server-git-a439b5f851380b5518e3a212cd31ac73db823c32.tar.gz | |
Merge pull request #1112 from rabbitmq/rabbitmq-trust-store-56
Config schema tests for trust store
| -rw-r--r-- | test/config_schema_SUITE_data/snippets.config | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/test/config_schema_SUITE_data/snippets.config b/test/config_schema_SUITE_data/snippets.config index 9fb0b7519b..150ccfac5c 100644 --- a/test/config_schema_SUITE_data/snippets.config +++ b/test/config_schema_SUITE_data/snippets.config @@ -897,6 +897,32 @@ auth_cache.cached_backend = ldap", "proxy_protocol = false", [{rabbit, [ {proxy_protocol, false} -]}],[]} +]}],[]}, +{trust_store, + "trust_store.refresh_interval = 30", + [{rabbitmq_trust_store, [{refresh_interval, 30}]}], + [rabbitmq_trust_store]}, +{trust_store_file, + "trust_store.directory = /tmp/foo/bar", + [{rabbitmq_trust_store, [{directory, "/tmp/foo/bar"}]}], + [rabbitmq_trust_store]}, +{trust_store_providers, + "trust_store.providers.1 = file + trust_store.providers.2 = http + trust_store.providers.3 = rabbit_trust_store_opera_com_provider", + [{rabbitmq_trust_store, [{providers, [rabbit_trust_store_file_provider, + rabbit_trust_store_http_provider, + rabbit_trust_store_opera_com_provider]}]}], + [rabbitmq_trust_store]}, +{trust_store_http, + "trust_store.providers.1 = http + trust_store.url = http://example.com + trust_store.ssl_options.certfile = test/config_schema_SUITE_data/certs/cert.pem + trust_store.ssl_options.password = i_am_password", + [{rabbitmq_trust_store, [{providers, [rabbit_trust_store_http_provider]}, + {url, "http://example.com"}, + {ssl_options, [{certfile, "test/config_schema_SUITE_data/certs/cert.pem"}, + {password, "i_am_password"}]}]}], + [rabbitmq_trust_store]} ]. |
