Re: [openssl-users] Certificate Chain Verify Error

2016-02-01 Thread Nicholas Mainardi
Hi Frank, Now it's properly working! I was not aware I have to call that function to use OpenSSL algorithms. Thank You very much :) Cheers, Nicholas 2016-02-01 13:30 GMT+01:00 Frank Migge : > Hi Nicholas, > > Not calling OpenSSL_add_all_algorithms(); at the beginning could cause > it? > > Che

Re: [openssl-users] Certificate Chain Verify Error

2016-02-01 Thread Frank Migge
Hi Nicholas, Not calling OpenSSL_add_all_algorithms(); at the beginning could cause it? Cheers, Frank Nicholas Mainardi Monday, February 01, 2016 8:57 PM I wrote this small program which takes as input X509 certificates, base64-encoded, parse them and buil

[openssl-users] Certificate Chain Verify Error

2016-02-01 Thread Nicholas Mainardi
I wrote this small program which takes as input X509 certificates, base64-encoded, parse them and build a certificate chain, which is eventually verified by x509_Verify_cert(). The last certificate is added to the trusted store if it's self-signed, in order to avoid OpenSSL policy about self.signed