Certbot v0.5.1 Certbot.Provider.Static View Source
Static certificate provider
Expects a certificates
keyword with a map of hostnames as keys and
%Certbot.Certificate{}
structs as values.
Also an example of a simple certificate provider.
defmodule Myapp.StaticProvider do
use Certbot.Provider.Acme,
certificates: %{
"example.com" => %Certbot.Certificate{
cert: cert_der,
key: {:RSAPrivateKey, key_der}
}
}
end
Link to this section Summary
Link to this section Functions
Link to this function
get_by_hostname(hostname, opts \\ [])
View Sourceget_by_hostname(binary(), keyword()) :: nil | Certbot.Certificate.t()