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.
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...
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 withopenssl verify -CAfile <(root.pem, intermediate.pem) user.pem
. After inspecting the certificates, I noticed that the issuer ofuser.pem
was set to the subject fromroot.pem
. After applying this change, the call toopenssl verify
passed.