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

Confusing error response when posting CSR with windows line breaks #24

Open
niligulmohar opened this issue Feb 9, 2015 · 0 comments
Open

Comments

@niligulmohar
Copy link
Member

When posting a CSR whose PEM-representation uses windows line breaks instead of unix line breaks, caramel will reject it with status 400 and an error message of "invalid PEM reqtext".

This is reasonable, since the format of the request will affect its hash and therefore its uniqueness, but the error message should be more descriptive.

The exact condition that must be met is that the PEM data of the CSR as generated by OpenSSL must be identical to the one provided in the post.

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

No branches or pull requests

1 participant