Skip to content

Commit db82fd2

Browse files
committed
Proceed with cert auth login attempts if ocsp_fail_open is true and servers are unreachable (#25982)
1 parent fff596f commit db82fd2

File tree

7 files changed

+484
-12
lines changed

7 files changed

+484
-12
lines changed

builtin/credential/cert/backend.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ const (
2626
operationPrefixCert = "cert"
2727
trustedCertPath = "cert/"
2828

29-
defaultRoleCacheSize = 200
30-
maxRoleCacheSize = 10000
29+
defaultRoleCacheSize = 200
30+
defaultOcspMaxRetries = 4
31+
maxRoleCacheSize = 10000
3132
)
3233

3334
func Factory(ctx context.Context, conf *logical.BackendConfig) (logical.Backend, error) {

0 commit comments

Comments
 (0)