aboutsummaryrefslogtreecommitdiff
path: root/cmd/acme/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/acme/main.go')
-rw-r--r--cmd/acme/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/acme/main.go b/cmd/acme/main.go
index 83d754c..cda91e0 100644
--- a/cmd/acme/main.go
+++ b/cmd/acme/main.go
@@ -84,7 +84,7 @@ func requestCert(prov *acme.Provider, acc *acme.Account, d domain) error {
}
}
- des := acme.NewDesire(c.PrivateKey)
+ des := acme.NewDesire()
if d.Webroot != "" {
des.RegisterSolver(acme.NewWebrootSolver(d.Webroot))
} else {
@@ -100,7 +100,7 @@ func requestCert(prov *acme.Provider, acc *acme.Account, d domain) error {
}
log.Println("Request bundle for", d.Altnames)
- cert, err := prov.Bundle(acc, des, d.Altnames)
+ cert, err := prov.Bundle(acc, c.PrivateKey, d.Altnames)
if err != nil {
return err
}