Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal server error for invalid TLS Feature extension #1650

Closed
jsha opened this issue Mar 24, 2016 · 6 comments
Closed

Internal server error for invalid TLS Feature extension #1650

jsha opened this issue Mar 24, 2016 · 6 comments

Comments

@jsha
Copy link
Contributor

jsha commented Mar 24, 2016

Per https://community.letsencrypt.org/t/improving-revocation-will-lets-encrypt-support-ocsp-must-staple/4334/17, we generate an Internal Server Error for invalid TLS Feature extensions, when we should return an informative message.

@osirisinferi
Copy link

https://github.com/letsencrypt/boulder/blob/master/ca/certificate-authority.go#L320 suggests it would generate a proper error in this case..

I haven't got a clue why a invalid TLS Feature extension request results in a urn:acme:error:serverInternal :: The server experienced an internal error :: Error creating new cert.

@jsha
Copy link
Contributor Author

jsha commented Mar 24, 2016

We have code, in WFE I believe, that takes internal error types like CertificateIssuanceError and turns them into ProblemDetails. Unrecognized error types get turned into InternalServerError. We probably need to return a different error type here, or adjust that transformation to understand this error type.

@jsha
Copy link
Contributor Author

jsha commented Mar 31, 2016

This is fixed in staging. @osirisinferi, can you verify?

@osirisinferi
Copy link

@jsha Yes, it generated a nice error yesterday. Didn't report it, because the issue was already closed. 😛

@JasonSome
Copy link

@jsha So, now you can ship it to production and hopefully enable it on the config?

@jsha
Copy link
Contributor Author

jsha commented Apr 1, 2016

Yes, that is the plan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants