Hi, I placed the call for ERR_peek_last_error() after the call for xmlSecOpenSSLAppKeysMngrCertLoadMemory in my code. The error code returned is error code--1191182335 Is this a valid Error code. Can you pls tell how can I translate this error code to error description.
Thanks, Taruna -----Original Message----- From: ext Aleksey Sanin [mailto:[email protected]] Sent: Thursday, January 29, 2009 10:52 AM To: Dutt, Taruna (NSN - IN/Bangalore) Cc: [email protected] Subject: Re: [xmlsec] Not able to load certificate What is the value returned by ERR_peek_last_error() function right after the failure? Aleksey Dutt, Taruna (NSN - IN/Bangalore) wrote: > 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=unkn > ow n:subj=xmlSecOpenSSLAppCertLoadBIO:error=1:xmlsec library function > failed: > func=xmlSecOpenSSLAppKeysMngrCertLoadMemory:file=app.c:line=1030:obj=u > nk 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
