diff --git a/directives.go b/directives.go index 38d6180..43efd20 100644 --- a/directives.go +++ b/directives.go @@ -103,6 +103,12 @@ func parseTLS(srv *Server, d *Directive) error { return err } srv.ACMEManager.CA = caURL + case "email": + var email string + if err := child.ParseParams(&email); err != nil { + return err + } + srv.ACMEManager.Email = email default: return fmt.Errorf("unknown %q directive", child.Name) } diff --git a/tlstunnel.1.scd b/tlstunnel.1.scd index 161c7ad..ae781ec 100644 --- a/tlstunnel.1.scd +++ b/tlstunnel.1.scd @@ -64,6 +64,10 @@ The following directives are supported: *acme_ca* ACME Certificate Authority endpoint. + *email*
+ The email address to use when creating or selecting an existing ACME + server account + # FILES _/etc/tlstunnel/config_