mirror of
https://github.com/outbackdingo/labca.git
synced 2026-01-27 10:19:34 +00:00
Let's Encrypt has changed the rate limiter to require redis, so we can no longer remove it from the docker compose filei completely. But at least we can run it once instead of four instances.
18 lines
623 B
Diff
18 lines
623 B
Diff
diff --git a/ca/ca.go b/ca/ca.go
|
|
index d58f5ddd3..da8f823f4 100644
|
|
--- a/ca/ca.go
|
|
+++ b/ca/ca.go
|
|
@@ -176,10 +176,10 @@ func makeIssuerMaps(issuers []*issuance.Issuer) (issuerMaps, error) {
|
|
}
|
|
}
|
|
if i, ok := issuersByAlg[x509.ECDSA]; !ok || len(i) == 0 {
|
|
- return issuerMaps{}, errors.New("no ECDSA issuers configured")
|
|
+ fmt.Println("WARNING: no ECDSA issuers configured")
|
|
}
|
|
if i, ok := issuersByAlg[x509.RSA]; !ok || len(i) == 0 {
|
|
- return issuerMaps{}, errors.New("no RSA issuers configured")
|
|
+ fmt.Println("WARNING: no RSA issuers configured")
|
|
}
|
|
return issuerMaps{issuersByAlg, issuersByNameID}, nil
|
|
}
|