summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/design.txt5
-rw-r--r--src/tools/httpd_config10
-rw-r--r--src/tools/httpd_inets.config24
3 files changed, 39 insertions, 0 deletions
diff --git a/doc/design.txt b/doc/design.txt
new file mode 100644
index 0000000..6b3c177
--- /dev/null
+++ b/doc/design.txt
@@ -0,0 +1,5 @@
+catlog design (in Emacs -*- org -*- mode)
+
+This document describes the design of catlog, an implementation of a
+Certificate Transparency (RFC6962) log.
+
diff --git a/src/tools/httpd_config b/src/tools/httpd_config
new file mode 100644
index 0000000..8dc9238
--- /dev/null
+++ b/src/tools/httpd_config
@@ -0,0 +1,10 @@
+ServerName httpd_inets_FQDN
+ServerRoot /tmp/httpd_inets
+DocumentRoot /tmp/httpd_inets/docroot
+Port 8080
+SocketType essl
+
+SSLCertificateFile /tmp/httpd_inets/02.pem
+SSLCertificateKeyFile /tmp/httpd_inets/srv1.key
+SSLCACertificateFile /tmp/httpd_inets/01.pem
+
diff --git a/src/tools/httpd_inets.config b/src/tools/httpd_inets.config
new file mode 100644
index 0000000..4635c1e
--- /dev/null
+++ b/src/tools/httpd_inets.config
@@ -0,0 +1,24 @@
+%% http://ftp.sunet.se/pub/lang/erlang/doc/apps/inets/http_server.html
+%% http://www.erlang.org/doc/man/httpd.html
+%%
+%% $ erl -config httpd_inets
+%% Erlang R15B01 (erts-5.9.1) [source] [64-bit] [smp:4:4]%% [async-threads:0] [kernel-poll:false]
+%%
+%% Eshell V5.9.1 (abort with ^G)
+%% 1> inets:start().
+%% ok
+%% 2> [_, Httpd] = inets:services().
+%% 3> {httpd, Pid} = Httpd.
+%% {httpd,<0.45.0>}
+%% 4> httpd:info(Pid).
+%% [{mime_types,[{"html","text/html"},{"htm","text/html"}]},
+%% {server_name,"httpd_inets_FQDN"},
+%% {server_root,"/tmp/httpd_inets"},
+%% {port,8080},
+%% {document_root,"/tmp/httpd_inets/docroot"},
+%% {bind_address,{127,0,0,1}}]
+%%
+[{inets, [{services, [
+ %%{httpd, [{proplist_file, "httpd_inets_props.conf"}]},
+ {httpd, [{file, "httpd_config"}]}
+ ]}]}].