sslcerts v0.2.2 Sslcerts.Cli.Renew View Source

Renew an existing certificate, if no cert exists then create one.

sslcerts renew

For more information, take a look at certbot

For scripting, it is best to use this one, as it will create a certificate if none exist.

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

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 --renew-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

Link to this macro invoke(piped_in_argument, expr) View Source (macro)

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

Callback implementation for Mix.Task.run/1.