Skip to content

Issues with importing an intermediate from an existing root #552

Answered by maraino
jwomackgsa asked this question in Q&A
Discussion options

You must be logged in to vote

@jwomackgsa Our current code to parse certificates is quite strict, and will fail if an intermediate certificate has some extra lines. It's something that we need to relax. But my guess is that this is the problem. Can you check the format of the certificate and see if it's like this:

-----BEGIN CERTIFICATE-----
MII..
...
-----END CERTIFICATE-----

If at the end there are 2 \n instead of 0 or 1, I can reproduce the error.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jwomackgsa
Comment options

Answer selected by jwomackgsa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants