<HTML>
<HEAD>
<TITLE>Having problems getting xmlsec working: &nbsp;Error: failed to initialize keys manager. &nbsp;A little help?</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi guys,<BR>
<BR>
I&#8217;ve googled extensively, removed clumps of hair, sacrificed a small chicken, recompiled xmlsec a few times, reinstalled openssl rpms... To no avail.<BR>
<BR>
Here&#8217;s my setup:<BR>
<BR>
In testing, I&#8217;m running centos, with openssl 0.9.7a rpm installed, xmlsec 1.2.11 compiled from source.<BR>
<BR>
In production, I&#8217;m running RHEL, with openssl 0.9.7a and openssl-devel 0.9.7a rpms installed, xmlsec 1.2.11 compiled from source.<BR>
<BR>
In testing, xmlsec works fine.<BR>
In production, attempting to run xmlsec results in the following:<BR>
<BR>
root@www foo]# &nbsp;xmlsec1 --sign --privkey-pem dsaprivkey.pem --pubkey-der dsapubkey.der --output foo.xml in.xml<BR>
func=xmlSecOpenSSLX509StoreInitialize:file=x509vfy.c:line=651:obj=x509-store:subj=X509_LOOKUP_add_dir:error=4:crypto library function failed: <BR>
func=xmlSecKeyDataStoreCreate:file=keysdata.c:line=1328:obj=x509-store:subj=id-&gt;initialize:error=1:xmlsec library function failed: <BR>
func=xmlSecOpenSSLKeysMngrInit:file=crypto.c:line=313:obj=unknown:subj=xmlSecKeyDataStoreCreate:error=1:xmlsec library function failed:xmlSecOpenSSLX509StoreId<BR>
func=xmlSecOpenSSLAppDefaultKeysMngrInit:file=app.c:line=1270:obj=unknown:subj=xmlSecOpenSSLKeysMngrInit:error=1:xmlsec library function failed: <BR>
Error: failed to initialize keys manager.<BR>
Error: keys manager creation failed<BR>
<BR>
<BR>
Several posts on the web have stated this to be &#8220;something wrong with the openssl certs dir&#8221; <BR>
But /usr/share/ssl exists, and I don&#8217;t see anything wrong with it.<BR>
I&#8217;ve not seen anyone&#8217;s solutions to the problem, just a vague pointer to something wrong.<BR>
<BR>
Can anyone help shed a little light on what I&#8217;m missing? I&#8217;ve got to get this working today.<BR>
<BR>
Thanks much in advance. Your pointers are appreciated.<BR>
<BR>
-Wolf</SPAN></FONT>
</BODY>
</HTML>