[xmlsec] Failed to initialize key manager

chia pern hui iceasky at gmail.com
Tue Feb 19 08:25:22 PST 2008


Hi Aleksey,

Thanks for the reply. I am quite new with openssl,
may I ask how can I specify the default openssl certificates directory?
Is is specify the prefix when running ".configure" ?

I tried installing xmlsec1.2.9 using debian source, the problem disappeared.

Perhaps it is due to the scratchbox environment. Thanks in advanced.
I am rather new in this area. Thanks!

Best regards,
Pern hui


On Feb 19, 2008 5:24 PM, Aleksey Sanin <aleksey at aleksey.com> wrote:
> 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!
> >
>



-- 
Best regards,
Pern Hui



More information about the xmlsec mailing list