summaryrefslogtreecommitdiff
path: root/README.md
blob: e9fe990c4a5d59143b70b704d73c8debbc6d9493 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# ctls

ctls is a Certificate Transparency log server (RFC 6962).

# Compile

    $ erl -make

# Requirements

A running plop application, which in turn requires mnesia to be
running.

jiffie for JSON encoding and decoding.

# Start

NOTE: Kludge ahead! ctls will turn into a proper OTP application at
some point in the future.

Make sure mnesia and plop are running and that plop has been
installed, i.e. has a database. See `plop/README`. You might also want
to `code:add_pathz("path/to/plop/ebin")`.

    1> inets:start(httpd, [{proplist_file, "httpd_props.conf"}]).

# Logs and traces

As configured in httpd_props.conf, logs can be found in webroot/log/.

To enable a crazy amount of tracing information from inets, do

    1> inets_trace:enable(max, io).

# To do

- Stop using inets httpd mod_esi and make ctls a proper application.