mirror of
https://github.com/internetee/epp_proxy.git
synced 2025-08-18 13:33:48 +02:00
Use standard erlang folder structure
This commit is contained in:
parent
0c8cbaefc7
commit
657f064e35
5 changed files with 8 additions and 7 deletions
|
@ -5,8 +5,8 @@
|
||||||
{mod, {epp_proxy_app, []}},
|
{mod, {epp_proxy_app, []}},
|
||||||
{applications,
|
{applications,
|
||||||
[kernel,
|
[kernel,
|
||||||
stdlib
|
stdlib,
|
||||||
]},
|
ssl]},
|
||||||
{env,[]},
|
{env,[]},
|
||||||
{modules, []},
|
{modules, []},
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
-include_lib("eunit/include/eunit.hrl").
|
-include_lib("eunit/include/eunit.hrl").
|
||||||
-include_lib("public_key/include/public_key.hrl").
|
-include_lib("public_key/include/public_key.hrl").
|
||||||
|
|
||||||
-define(exampleCertFile, "fixtures/epp-proxy-test.crt.pem").
|
-define(exampleCertFile, lists:flatten([code:lib_dir(epp_proxy, priv),
|
||||||
|
"epp-proxy-test.crt.pem"])).
|
||||||
|
|
||||||
wder_certificate_test() ->
|
wder_certificate_test() ->
|
||||||
PemEntries = public_key:pem_decode(certificate_pem()),
|
PemEntries = public_key:pem_decode(certificate_pem()),
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
[
|
[
|
||||||
{epp_proxy, [{tcp_port, 17001,
|
{epp_proxy, [{tcp_port, 3333},
|
||||||
{tls_port, 17002},
|
{tls_port, 4444},
|
||||||
{epp_session_url, "https://registry.test/epp/session/"},
|
{epp_session_url, "https://registry.test/epp/session/"},
|
||||||
{epp_command_url, "https://registry.test/epp/command/"},
|
{epp_command_url, "https://registry.test/epp/command/"},
|
||||||
{cacertfile_path, "/opt/shared/ca/certs/ca.crt.pem"},
|
{cacertfile_path, "/opt/shared/ca/certs/ca.crt.pem"},
|
||||||
{certfile_path, "/opt/shared/ca/certs/ca.crt.pem"},
|
{certfile_path, "/opt/shared/ca/certs/apache.crt"},
|
||||||
{keyfile_path, "/opt/shared/ca/certs/ca.crt.pem"}]}
|
{keyfile_path, "/opt/shared/ca/private/apache.key"}]}
|
||||||
].
|
].
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue