Skip to content

Commit

Permalink
Merge pull request #603 from basho/refactor/confbal/ssl
Browse files Browse the repository at this point in the history
Using riak_core ssl app settings instead of riak_api
  • Loading branch information
joedevivo committed May 13, 2014
2 parents 9e5cf80 + d654a43 commit cfd473a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 deletions tests/pb_cipher_suites.erl
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,13 @@ confirm() ->
{modules, [mod_get]}]),

lager:info("Deploy some nodes"),
Conf = [
{riak_api, [
Conf = [{riak_core, [
{ssl, [
{certfile, filename:join([CertDir,"site3.basho.com/cert.pem"])},
{keyfile, filename:join([CertDir, "site3.basho.com/key.pem"])},
{cacertfile, filename:join([CertDir, "site3.basho.com/cacerts.pem"])}
]},
]}
]},
{riak_search, [
{enabled, true}
]}
Expand Down
8 changes: 4 additions & 4 deletions tests/pb_security.erl
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ confirm() ->
PrivDir = rt:priv_dir(),
Conf = [
{riak_core, [
{default_bucket_props, [{allow_mult, true}]}
]},
{riak_api, [
{default_bucket_props, [{allow_mult, true}]},
{ssl, [
{certfile, filename:join([CertDir,"site3.basho.com/cert.pem"])},
{keyfile, filename:join([CertDir, "site3.basho.com/key.pem"])},
{cacertfile, filename:join([CertDir, "site3.basho.com/cacerts.pem"])}
]},
]}
]},
{riak_search, [
{enabled, true}
]}
Expand Down

0 comments on commit cfd473a

Please sign in to comment.