summaryrefslogtreecommitdiffstats
path: root/README.md
blob: c67e5702b0c732873b0b48f14e44b6587aad3203 (plain) (blame)
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
ct_helper
=========

Helper modules for common_test suites.

Generating SSL certificates
---------------------------

This library includes a function that allows you to generate SSL
certificates for testing purposes. The following snippet can be
used to generate certificates and a private key.

``` erlang
{CaCert, Cert, Key} = ct_helper:make_certs().
```

The resulting `CaCert`, `Cert` and `Key` can be used directly with
Erlang functions like `ssl:connect/3`.

``` erlang
ssl:connect("example.com", 443, [binary, {cert, Cert}, {key, Key}]).
```

Support
-------

 *  Official IRC Channel: #ninenines on irc.freenode.net
 *  [Mailing Lists](http://lists.ninenines.eu)