sslcerts v0.2.2 mix sslcerts.create View Source

Create a new certificate

mix sslcerts.create

This assumes that bits has been installed, if that’s not the case, then ensure that you first run

mix sslcerts.install bits

Available configurations

  • --email The email associated with the certificate
  • --domains The domains you are certifying
  • --webroot The root of your static assets to allow certbot to confirm it’s your domain
  • --ini The path of the certbot configs (defaults to /etc/letsencrypt/letsencrypt.ini)
  • --keysize The size of the certificate key (defaults to 4096)
  • --post-hook Any script to run after a successful renewal (See --post-hook in certbot)

Link to this section Summary

Functions

A task needs to implement run which receives a list of command line args

Link to this section Functions

A task needs to implement run which receives a list of command line args.

Callback implementation for Mix.Task.run/1.