mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-06 08:35:22 +00:00
Merge pull request #717 from basho/bugfix/sdc/cert-name-collisions
Fix pb_security failures
This commit is contained in:
commit
1af1b32937
@ -28,10 +28,13 @@ confirm() ->
|
||||
make_certs:revoke(CertDir, "rootCA", "revokedCA"),
|
||||
|
||||
%% start a HTTP server to serve the CRLs
|
||||
inets:start(httpd, [{port, 8000}, {server_name, "localhost"},
|
||||
%%
|
||||
%% NB: we use the 'stand_alone' option to link the server to the
|
||||
%% test process, so it exits when the test process exits.
|
||||
{ok, _HTTPPid} = inets:start(httpd, [{port, 8000}, {server_name, "localhost"},
|
||||
{server_root, "/tmp"},
|
||||
{document_root, CertDir},
|
||||
{modules, [mod_get]}]),
|
||||
{modules, [mod_get]}], stand_alone),
|
||||
|
||||
lager:info("Deploy some nodes"),
|
||||
Conf = [{riak_core, [
|
||||
|
@ -41,10 +41,13 @@ confirm() ->
|
||||
make_certs:gencrl(CertDir, "site1.basho.com"),
|
||||
|
||||
%% start a HTTP server to serve the CRLs
|
||||
inets:start(httpd, [{port, 8000}, {server_name, "localhost"},
|
||||
%%
|
||||
%% NB: we use the 'stand_alone' option to link the server to the
|
||||
%% test process, so it exits when the test process exits.
|
||||
{ok, _HTTPPid} = inets:start(httpd, [{port, 8000}, {server_name, "localhost"},
|
||||
{server_root, "/tmp"},
|
||||
{document_root, CertDir},
|
||||
{modules, [mod_get]}]),
|
||||
{modules, [mod_get]}], stand_alone),
|
||||
|
||||
lager:info("Deploy some nodes"),
|
||||
PrivDir = rt:priv_dir(),
|
||||
|
Loading…
Reference in New Issue
Block a user