Certified (certified v0.1.0)
View SourceThe central point for calling into Certified.
Summary
Functions
Generates a complete set of options for :ssl.handshake/2
.
Types
@type server_options() :: [:ssl.tls_server_option()]
Functions
@spec generate_transport_options() :: server_options()
Generates a complete set of options for :ssl.handshake/2
.
This uses the Thousand Island transport_options
config defined in your
Phoenix Endpoint
s config, plus updated TLS keys and certs resolved
using the Acme config in your environment.
Examples
iex> Certified.generate_transport_options()
[
certs_keys: [
%{certfile: "mycert.pem", keyfile: "mykey.pem"}
]
]