View Source mix orbit.gen.cert (Orbit v0.3.0)

Create a self-signed certificate.

$ mix orbit.gen.cert [hostname]

The hostname is optional and defaults to "localhost".

The following files will be created:

  • priv/tls/<hostname>.crt - the certificate
  • priv/tls/<hostname>.key - the private key