FW: [xmlsec] Not able to load certificate
Dutt, Taruna (NSN - IN/Bangalore)
taruna.dutt at nsn.com
Thu Jan 29 05:28:04 PST 2009
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.
From: ext Aleksey Sanin [mailto:aleksey at aleksey.com]
Sent: Thursday, January 29, 2009 10:52 AM
To: Dutt, Taruna (NSN - IN/Bangalore)
Cc: xmlsec at aleksey.com
Subject: Re: [xmlsec] Not able to load certificate
What is the value returned by ERR_peek_last_error() function right after
Dutt, Taruna (NSN - IN/Bangalore) wrote:
> 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
> =P EM_read_bio_X509_AUX:error=4:crypto library function failed:
> ow n:subj=xmlSecOpenSSLAppCertLoadBIO:error=1:xmlsec library function
> 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.
> -----Original Message-----
> From: ext Aleksey Sanin [mailto:aleksey at aleksey.com]
> Sent: Wednesday, January 28, 2009 10:31 PM
> To: Dutt, Taruna (NSN - IN/Bangalore)
> Cc: xmlsec at aleksey.com
> Subject: Re: [xmlsec] Not able to load certificate
> What is the error?
> 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.
>> xmlsec mailing list
>> xmlsec at aleksey.com
More information about the xmlsec