Certbot v0.5.1 Certbot.Config View Source

Configuration for Certbot

These are the options supplied to use Certbot, server: ""

  • :jwk -- jwk for the account private key for the Acme client
  • :email -- email for the account for the Acme client e.g. mailto:test@example.com
  • :certificate_provider -- module that will responsible for getting certificates from the store, or requesting new certifictes
  • :server -- Server implementing the Acme protocol, most likely that you want the staging server https://acme-staging.api.letsencrypt.org/ or the production server https://acme-v01.api.letsencrypt.org. Alternatively you can use another implemntation like Boulder or Pebble

The jwk can be generated from a private key like this:

jwk = "priv/cert/selfsigned_key.pem"
     |> File.read!()
     |> JOSE.JWK.from_pem()
     |> JOSE.JWK.to_map()

Link to this section Summary

Link to this section Types

Link to this type

t()

View Source
t() :: %Certbot.Config{
  certificate_provider: any(),
  email: String.t(),
  jwk: any(),
  logger: any(),
  server: String.t()
}

Link to this section Functions