Skip to content

Commit cfd473a

Browse files
committed
Merge pull request #603 from basho/refactor/confbal/ssl
Using riak_core ssl app settings instead of riak_api
2 parents 9e5cf80 + d654a43 commit cfd473a

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

tests/pb_cipher_suites.erl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,13 @@ confirm() ->
3434
{modules, [mod_get]}]),
3535

3636
lager:info("Deploy some nodes"),
37-
Conf = [
38-
{riak_api, [
37+
Conf = [{riak_core, [
38+
{ssl, [
3939
{certfile, filename:join([CertDir,"site3.basho.com/cert.pem"])},
4040
{keyfile, filename:join([CertDir, "site3.basho.com/key.pem"])},
4141
{cacertfile, filename:join([CertDir, "site3.basho.com/cacerts.pem"])}
42-
]},
42+
]}
43+
]},
4344
{riak_search, [
4445
{enabled, true}
4546
]}

tests/pb_security.erl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ confirm() ->
5050
PrivDir = rt:priv_dir(),
5151
Conf = [
5252
{riak_core, [
53-
{default_bucket_props, [{allow_mult, true}]}
54-
]},
55-
{riak_api, [
53+
{default_bucket_props, [{allow_mult, true}]},
54+
{ssl, [
5655
{certfile, filename:join([CertDir,"site3.basho.com/cert.pem"])},
5756
{keyfile, filename:join([CertDir, "site3.basho.com/key.pem"])},
5857
{cacertfile, filename:join([CertDir, "site3.basho.com/cacerts.pem"])}
59-
]},
58+
]}
59+
]},
6060
{riak_search, [
6161
{enabled, true}
6262
]}

0 commit comments

Comments
 (0)