Helper modules for common_test suites.
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.
{CaCert, Cert, Key} = ct_helper:make_certs().
The resulting CaCert
, Cert
and Key
can be used directly with
Erlang functions like ssl:connect/3
.
ssl:connect("example.com", 443, [binary, {cert, Cert}, {key, Key}]).
- Official IRC Channel: #ninenines on irc.freenode.net
- Mailing Lists