View definition

(*Client).RenewCertificate

Defined in github.com/xenolf/lego/acme/client.go

Description

RenewCertificate takes a CertificateResource and tries to renew the certificate. If the renewal process succeeds, the new certificate will ge returned in a new CertResource. Please be aware that this function will return a new certificate in ANY case that is not an error. If the server does not provide us with a new cert on a GET request to the CertURL this function will start a new-cert flow where a new certificate gets generated. If bundle is true, the []byte contains both the issuer certificate and your issued certificate as a bundle. For private key reuse the PrivateKey property of the passed in CertificateResource should be non-nil.

RenewCertificate is referenced in 9 repositories

github.com/xenolf/lego github.com/emilevauge/traefik github.com/jtblin/go-acme

...