http://www.aleksey.com/xmlsec/api/xmlsec-app.html#XMLSECCRYPTOAPPINIT Please, read help carefully! The "con fig" parameter for this function is *not* a directory with trusted certificates. It is crypt-library specific configuration folder. At the moment, only NSS is using it for locating NSS keys and certificates database files. Aleksey