From 8ced81a42df940b9535fc72bccf70d56516cfade Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Thu, 10 Mar 2016 02:31:21 +0100 Subject: Remove key from desire --- cmd/acme/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd') 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 } -- cgit v1.2.3