gitea-pages-server/server/certificates
Felipe Leopoldo Sologuren Gutiérrez c286b3b1d0 Added TokenBucket to limit the rate of validation failures (#151)
Added new TockenBucket named `acmeClientFailLimit` to avoid being banned because of the [Failed validation limit](https://letsencrypt.org/docs/failed-validation-limit/) of Let's Encrypt.

The behaviour is similar to the other limiters blocking the `obtainCert` func ensuring rate under limit.

Co-authored-by: fsologureng <sologuren@estudiohum.cl>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/151
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: Felipe Leopoldo Sologuren Gutiérrez <fsologureng@noreply.codeberg.org>
Co-committed-by: Felipe Leopoldo Sologuren Gutiérrez <fsologureng@noreply.codeberg.org>
2023-01-04 05:26:14 +00:00
..
acme_account.go Add pipeline (#65) 2022-03-27 21:54:06 +02:00
certificates.go Added TokenBucket to limit the rate of validation failures (#151) 2023-01-04 05:26:14 +00:00
mock.go rm certDB helper and build in 2021-12-05 19:00:57 +01:00
mock_test.go Move gitea api calls in own "client" package (#78) 2022-06-11 23:02:06 +02:00