Looking at this further, it appears the problem is with this line in 
xmlSecOpenSSLX509StoreInitialize

X509_LOOKUP_add_dir(lookup, (char*)path, X509_FILETYPE_DEFAULT);

What seems to happen is that that X509_FILETYPE_DEFAULT parameter tells openssl 
to look in the default location for certs, which is defined by the SSL_CERT_DIR 
environment variable. Changing the line to

X509_LOOKUP_add_dir(lookup, (char*)path, X509_FILETYPE_PEM);

solves the problem for me. I think this will also affect 
xmlSecOpenSSLX509StoreAddCertsPath.

David
-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to