Clearer error message when goodkey fails unexpectedly (#7642)
This will prevent users from believing their key is at fault when the actual error is between Boulder and the database. Fixes https://github.com/letsencrypt/boulder/issues/7624
This commit is contained in:
parent
b9eff346fc
commit
e398c4d1ec
|
|
@ -722,7 +722,7 @@ func (wfe *WebFrontEndImpl) validSelfAuthenticatedPOST(
|
|||
wfe.stats.joseErrorCount.With(prometheus.Labels{"type": "JWKRejectedByGoodKey"}).Inc()
|
||||
return nil, nil, probs.BadPublicKey(err.Error())
|
||||
}
|
||||
return nil, nil, probs.ServerInternal("error checking key quality")
|
||||
return nil, nil, probs.ServerInternal("internal error while checking JWK")
|
||||
}
|
||||
|
||||
return payload, pubKey, nil
|
||||
|
|
|
|||
Loading…
Reference in New Issue