GetRenewalInfo gets the ACME Renewal Information (ARI) for the certificate.
(ctx context.Context, cert Certificate)
| 283 | |
| 284 | // GetRenewalInfo gets the ACME Renewal Information (ARI) for the certificate. |
| 285 | func (iss *ACMEIssuer) GetRenewalInfo(ctx context.Context, cert Certificate) (acme.RenewalInfo, error) { |
| 286 | acmeClient, err := iss.newBasicACMEClient() |
| 287 | if err != nil { |
| 288 | return acme.RenewalInfo{}, err |
| 289 | } |
| 290 | return acmeClient.GetRenewalInfo(ctx, cert.Certificate.Leaf) |
| 291 | } |
| 292 | |
| 293 | func (iss *ACMEIssuer) getHTTPPort() int { |
| 294 | useHTTPPort := HTTPChallengePort |
nothing calls this directly
no test coverage detected