View Source mix orbit.gen.cert (Orbit v0.3.1)
Create a self-signed certificate.
$ mix orbit.gen.cert [hostname] [more hostnames...]
The hostname is optional and defaults to "localhost". Multiple hostnames and IPv4 addresses may be provided, with
the first one becoming the certificate Common Name (CN).
The certificate will expire in 365 days.
The following files will be created:
priv/tls/<hostname>.crt- the certificatepriv/tls/<hostname>.key- the private key