Skip to content

Commit d2a983d

Browse files
committed
See if this fixes a ZeroSSL error
1 parent b52140d commit d2a983d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ func (cfg *Config) renewCert(ctx context.Context, name string, force, interactiv
874874
// are compliant, so their CSR requirements just needlessly add friction, complexity,
875875
// and inefficiency for clients. CommonName has been deprecated for 25+ years.
876876
useCSR := csr
877-
if _, ok := issuer.(*ZeroSSLIssuer); ok {
877+
if issuer.IssuerKey() == "zerossl" {
878878
useCSR, err = cfg.generateCSR(privateKey, []string{name}, true)
879879
if err != nil {
880880
return err

0 commit comments

Comments
 (0)