aboutsummaryrefslogtreecommitdiff
path: root/cmd/acmed/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/acmed/main.go')
-rw-r--r--cmd/acmed/main.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/cmd/acmed/main.go b/cmd/acmed/main.go
index 202fe58..11db4e2 100644
--- a/cmd/acmed/main.go
+++ b/cmd/acmed/main.go
@@ -11,6 +11,8 @@ import (
"log"
"os"
"path"
+
+ "dim13.org/acme"
)
var confName = flag.String("conf", "acme.toml", "configuration file")
@@ -73,4 +75,10 @@ func main() {
}
conf.Desire[k] = des
}
+
+ for k, des := range conf.Desire {
+ a, _ := acme.NewAccount(des.account.Mail, des.account.Phone, des.account.key)
+ log.Println(k, a)
+ }
+
}