Added bundle option

This commit is contained in:
Egor Smolyakov 2015-12-07 13:21:54 +02:00
parent 4676e45836
commit e8a631338c

View file

@ -123,7 +123,8 @@ if err != nil {
// The acme library takes care of completing the challenges to obtain the certificate(s). // The acme library takes care of completing the challenges to obtain the certificate(s).
// Of course, the hostnames must resolve to this machine or it will fail. // Of course, the hostnames must resolve to this machine or it will fail.
certificates, err := client.ObtainCertificates([]string{"mydomain.com"}) bundle := false
certificates, err := client.ObtainCertificates([]string{"mydomain.com"}, bundle)
if err != nil { if err != nil {
log.Fatal(err) log.Fatal(err)
} }