From d5df7e8703b413de3ca441b7d46bd96aa93f4ffe Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Thu, 11 Feb 2016 20:23:11 +0100 Subject: Add alternative config format. --- cmd/acme/dim13.hcl | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 cmd/acme/dim13.hcl (limited to 'cmd/acme/dim13.hcl') diff --git a/cmd/acme/dim13.hcl b/cmd/acme/dim13.hcl new file mode 100644 index 0000000..71295dd --- /dev/null +++ b/cmd/acme/dim13.hcl @@ -0,0 +1,53 @@ +defaults { + listen = "localhost:8080" + listentls = "localhost:8443" + basedir = "~/.acme" + keysize = 2048 +} + +provider "letsencrypt" { + directory = "https://acme-v01.api.letsencrypt.org/directory" +} + +provider "letsencrypt-staging" { + directory = "https://acme-staging.api.letsencrypt.org/directory" +} + +account "webmaster" { + mail = "webmaster@dim13.org" + key = "private/webmaster.key" +} + +account "postmaster" { + mail = "postmaster@dim13.org" + key = "private/postmaster.key" +} + +desire "web" { + provider = "letsencrypt" + account = "webmaster" + key = "private/www_dim13_org.key" + cert = "certs/www_dim13_org.pem" + + altnames = [ + "www.dim13.org", + "mail.dim13.org", + "git.dim13.org", + "cvs.dim13.org", + "dim13.org", + ] +} + +desire "mail" { + provider = "letsencrypt" + account = "postmaster" + key = "private/mail_dim13_org.key" + cert = "certs/mail_dim13_org.pem" + + altnames = [ + "mail.dim13.org", + "smtp.dim13.org", + "imap.dim13.org", + "dim13.org", + ] +} -- cgit v1.2.3