Adding Root Certificates to for verification of certificates using libxmlsecurity

2011-08-03 Thread Mayur Premi
Hi , I want to verify a particular certificate stored in an xml ,against a self signed root certificate using openssl. For this, am using libxmlsecurity [ internally has openssl ] for parsing my signature.xml having a certificate . 1. For adding Root Certifiates to *keystore *am using * xmlSecOp

Using PEM_read_X509 openSSL Api

2011-07-20 Thread Mayur Premi
Hi , I am using X509* ** pX = * PEM_read_X509*(FILE *fp, X509 **x, pem_password_cb *cb, void *u); to get a X509 certificate structure from PEM format File. My File(fp) looks like below: -BEGIN CERTIFICATE- MIIEQzCCAyugAwIBAgIPAMdMAQEALqZRDlTBXHdHMA0GCSqGSIb3DQEBCwUAMGAxCzAJBgNVBAYTAkd

Re: Adding Multiple Root certificates in Openssl

2011-07-17 Thread Mayur Premi
ficate using -hash option like: > openssl x509 -in root.cer -hash > > If you need CRL checking the same procedure can be applied with the > exception that the symbolic link name has to be .r0. > > > Regards, > Ciprian > > > On Fri, Jul 15, 2011 at 3:01 PM, Mayu

Adding Multiple Root certificates in Openssl

2011-07-15 Thread Mayur Premi
Hi , I am using openssl for signature verification of the files in my application. For supporting multiple root certificates , Is there a db or storage area[file] which openssl searches while finding the root of the passed input certificates ? I am using X509_Verify_cert api of openssl to v