aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-04-22 19:27:47 +0200
committerLoïc Hoguin <[email protected]>2013-04-22 19:27:47 +0200
commit282e532ba9e1b0e0f1867e43dd60d1118a36c12f (patch)
tree524a74dec8d213ff6bad5024082014b5849b816d
parent2e916777233d8d82b93cbca9b754a023a6ca63c2 (diff)
downloadcowboy-282e532ba9e1b0e0f1867e43dd60d1118a36c12f.tar.gz
cowboy-282e532ba9e1b0e0f1867e43dd60d1118a36c12f.tar.bz2
cowboy-282e532ba9e1b0e0f1867e43dd60d1118a36c12f.zip
Move SSL test certificates in a subdirectory
-rw-r--r--test/http_SUITE.erl8
-rw-r--r--test/http_SUITE_data/ssl/cert.pem (renamed from test/http_SUITE_data/cert.pem)0
-rw-r--r--test/http_SUITE_data/ssl/key.pem (renamed from test/http_SUITE_data/key.pem)0
3 files changed, 4 insertions, 4 deletions
diff --git a/test/http_SUITE.erl b/test/http_SUITE.erl
index 4a01856..be366e2 100644
--- a/test/http_SUITE.erl
+++ b/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),
diff --git a/test/http_SUITE_data/cert.pem b/test/http_SUITE_data/ssl/cert.pem
index a772007..a772007 100644
--- a/test/http_SUITE_data/cert.pem
+++ b/test/http_SUITE_data/ssl/cert.pem
diff --git a/test/http_SUITE_data/key.pem b/test/http_SUITE_data/ssl/key.pem
index 0b699cc..0b699cc 100644
--- a/test/http_SUITE_data/key.pem
+++ b/test/http_SUITE_data/ssl/key.pem