Skip to content

Commit

Permalink
See if this fixes a ZeroSSL error
Browse files Browse the repository at this point in the history
  • Loading branch information
mholt committed Dec 12, 2024
1 parent b52140d commit d2a983d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@ func (cfg *Config) renewCert(ctx context.Context, name string, force, interactiv
// are compliant, so their CSR requirements just needlessly add friction, complexity,
// and inefficiency for clients. CommonName has been deprecated for 25+ years.
useCSR := csr
if _, ok := issuer.(*ZeroSSLIssuer); ok {
if issuer.IssuerKey() == "zerossl" {
useCSR, err = cfg.generateCSR(privateKey, []string{name}, true)
if err != nil {
return err
Expand Down

0 comments on commit d2a983d

Please sign in to comment.