Hi, I have to verify a document with included X509 certificate. So, I am trying to load the root certificate which is used to sign the X509 certificate included in the document but without success. When I call xmlSecOpenSSLAppKeysMngrCertLoadMemory. I am getting following errors
func=xmlSecOpenSSLAppCertLoadBIO:file=app.c:line=1193:obj=unknown:subj=P EM_read_bio_X509_AUX:error=4:crypto library function failed: func=xmlSecOpenSSLAppKeysMngrCertLoadBIO:file=app.c:line=1078:obj=unknow n:subj=xmlSecOpenSSLAppCertLoadBIO:error=1:xmlsec library function failed: func=xmlSecOpenSSLAppKeysMngrCertLoadMemory:file=app.c:line=1030:obj=unk nown:subj=xmlSecOpenSSLAppKeysMngrCertLoadBIO:error=1:xmlsec library function failed: I am very new to openSSL and xmlSec. I would be thanful for any help. Thanks Taruna -----Original Message----- From: ext Aleksey Sanin [mailto:[email protected]] Sent: Wednesday, January 28, 2009 10:31 PM To: Dutt, Taruna (NSN - IN/Bangalore) Cc: [email protected] Subject: Re: [xmlsec] Not able to load certificate What is the error? Aleksey Dutt, Taruna (NSN - IN/Bangalore) wrote: > Hi Aleksey, > > I am calling xmlSecOpenSSLAppKeysMngrCertLoadMemory() from my code > with proper parameters. > But Inside it is failing in PEM_read_bio_X509_AUX. > I have pre-compiled libraries for libcrypto.so, so I am not able to > step into this function. > Can you please tell what could be possible reasons for this failure. > Is there any environmental variable which I need to set. > > Thanks, > Taruna > > > ---------------------------------------------------------------------- > -- > > _______________________________________________ > xmlsec mailing list > [email protected] > http://www.aleksey.com/mailman/listinfo/xmlsec _______________________________________________ xmlsec mailing list [email protected] http://www.aleksey.com/mailman/listinfo/xmlsec
