Browse Source

Move SSL test certificates in a subdirectory

Loïc Hoguin 12 years ago
parent
commit
282e532ba9
3 changed files with 4 additions and 4 deletions
  1. 4 4
      test/http_SUITE.erl
  2. 0 0
      test/http_SUITE_data/ssl/cert.pem
  3. 0 0
      test/http_SUITE_data/ssl/key.pem

+ 4 - 4
test/http_SUITE.erl

@@ -204,8 +204,8 @@ init_per_group(http, Config) ->
 init_per_group(https, Config) ->
 	Transport = ranch_ssl,
 	Opts = [
-		{certfile, ?config(data_dir, Config) ++ "cert.pem"},
-		{keyfile, ?config(data_dir, Config) ++ "key.pem"},
+		{certfile, ?config(data_dir, Config) ++ "ssl/cert.pem"},
+		{keyfile, ?config(data_dir, Config) ++ "ssl/key.pem"},
 		{password, "cowboy"}
 	],
 	Config1 = init_static_dir(Config),
@@ -236,8 +236,8 @@ init_per_group(http_compress, Config) ->
 init_per_group(https_compress, Config) ->
 	Transport = ranch_ssl,
 	Opts = [
-		{certfile, ?config(data_dir, Config) ++ "cert.pem"},
-		{keyfile, ?config(data_dir, Config) ++ "key.pem"},
+		{certfile, ?config(data_dir, Config) ++ "ssl/cert.pem"},
+		{keyfile, ?config(data_dir, Config) ++ "ssl/key.pem"},
 		{password, "cowboy"}
 	],
 	Config1 = init_static_dir(Config),

+ 0 - 0
test/http_SUITE_data/cert.pem → test/http_SUITE_data/ssl/cert.pem


+ 0 - 0
test/http_SUITE_data/key.pem → test/http_SUITE_data/ssl/key.pem