[xmlsec] Failed to initialize key manager

Aleksey Sanin aleksey at aleksey.com
Tue Feb 19 07:24:50 PST 2008


You have problems with the default openssl certificates directory.

Aleksey

chia pern hui wrote:
> Hi,
> 
> I am trying to run example "verify3.c"
> I am running openssl 0.9.7e-4 and xmlsec1-1.2.11
> 
> However, I have got the following error message:
> func=xmlSecOpenSSLX509StoreInitialize:file=x509vfy.c:line=651:obj=x509-store:subj=X509_LOOKUP_add_dir:error=4:crypto
> library function failed:
> func=xmlSecKeyDataStoreCreate:file=keysdata.c:line=1328:obj=x509-store:subj=id->initialize:error=1:xmlsec
> library function failed:
> func=xmlSecOpenSSLKeysMngrInit:file=crypto.c:line=313:obj=unknown:subj=xmlSecKeyDataStoreCreate:error=1:xmlsec
> library function failed:xmlSecOpenSSLX509StoreId
> func=xmlSecOpenSSLAppDefaultKeysMngrInit:file=app.c:line=1270:obj=unknown:subj=xmlSecOpenSSLKeysMngrInit:error=1:xmlsec
> library function failed:
> Error: failed to initialize keys manager.
> 
> Could you kindly help me in this? I am new in openssl too.
> Is there something i need to do for the X509_LOOKUP_add_dir?
> 
> Thanks a lot!
> 



More information about the xmlsec mailing list