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

Use subject from issuer certificate instead of its issuer #13

Merged
merged 1 commit into from
Oct 18, 2018

Conversation

mobileoverlord
Copy link
Contributor

I've been testing the creation and validity of a chain of root.pem -> intermediate.pem -> user.pem certificates and found that I was receiving errors when verifying the chain validity with openssl verify -CAfile <(root.pem, intermediate.pem) user.pem. After inspecting the certificates, I noticed that the issuer of user.pem was set to the subject from root.pem. After applying this change, the call to openssl verify passed.

@voltone
Copy link
Owner

voltone commented Oct 18, 2018

Oops, thanks! I'm afraid there might be some more glitches like that, due to incomplete test coverage. I'll try and find some time to do some quality control...

@voltone voltone merged commit 3a73381 into voltone:master Oct 18, 2018
@mobileoverlord mobileoverlord deleted the issuer-rdn branch October 18, 2018 15:43
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

Successfully merging this pull request may close these issues.

2 participants