diff --git a/wfe2/verify.go b/wfe2/verify.go index 79702d2cc..290c6ec9e 100644 --- a/wfe2/verify.go +++ b/wfe2/verify.go @@ -455,7 +455,7 @@ func (wfe *WebFrontEndImpl) lookupJWK( wfe.stats.joseErrorCount.With(prometheus.Labels{"type": "JWSKeyIDLookupFailed"}).Inc() // Add an error to the log event with the internal error message logEvent.AddError(fmt.Sprintf("Error calling SA.GetRegistration: %s", err.Error())) - return nil, nil, probs.ServerInternal("Error retreiving account %q", accountURL) + return nil, nil, probs.ServerInternal("Error retrieving account %q", accountURL) } // Verify the account is not deactivated diff --git a/wfe2/verify_test.go b/wfe2/verify_test.go index d9f2c5256..80d3cd5f2 100644 --- a/wfe2/verify_test.go +++ b/wfe2/verify_test.go @@ -1043,7 +1043,7 @@ func TestLookupJWK(t *testing.T) { Request: makePostRequestWithPath("test-path", errorIDJWSBody), ExpectedProblem: &probs.ProblemDetails{ Type: probs.ServerInternalProblem, - Detail: "Error retreiving account \"http://localhost/acme/acct/100\"", + Detail: "Error retrieving account \"http://localhost/acme/acct/100\"", HTTPStatus: http.StatusInternalServerError, }, ErrorStatType: "JWSKeyIDLookupFailed",