[xmlsec] keys manager creation failed on windows

raghu raghu bgraghu2005 at gmail.com
Mon May 2 03:06:39 PDT 2011


Hi,

  Following command raises following error when executed on windows
environment. xmlsec and dependencies are downloaded from
ftp://ftp.zlatkovic.com/libxml/ and copied to SYSTEM32 path.

  Can anyone suggest me about this error?

C:\>*Libxml\\xmlsec.exe  --verify  --pubkey-cert-pem
c:\\docume~1\\raghu\\locals~1\\temp\\tmpz_bttr.pem  --id-attr:ID
urn:oasis:names:tc:SAML:2.0:assertion:Assertion  --node-id
s299674594c38ea4bc4df950e336f6e9c27f7c4571
c:\\docume~1\\raghu\\locals~1\\temp\\tmpbcwvu3*

func=xmlSecOpenSSLAppKeyLoad:file=..\src\openssl\app.c:line=131:obj=unknown:subj
=BIO_new_file:error=4:crypto library function
failed:filename=c:\\docume~1\\raghu\\locals~1\\temp\\tmpz_bttr.pem;errno=2
func=xmlSecAppCryptoSimpleKeysMngrKeyAndCertsLoad:file=..\apps\crypto.c:line=118
:obj=unknown:subj=xmlSecCryptoAppKeyLoad:error=1:xmlsec library function
failed:
uri=c:\\docume~1\\raghu\\locals~1\\temp\\tmpz_bttr.pem
Error: failed to load public key from
"c:\\docume~1\\raghu\\locals~1\\temp\\t
mpz_bttr.pem".
Error: keys manager creation failed
Usage: xmlsec <command> [<options>] [<files>]

xmlsec is a command line tool for signing, verifying, encrypting and
decrypting XML documents. The allowed <command> values are:
  --help        display this help information and exit
  --help-all    display help information for all commands/options and exit
  --help-<cmd>  display help information for command <cmd> and exit
  --version     print version information and exit
  --keys        keys XML file manipulation
  --sign        sign data and output XML document
  --verify      verify signed document
  --sign-tmpl   create and sign dynamicaly generated signature template
  --encrypt     encrypt data and output XML document
  --decrypt     decrypt data from XML document
  --xkms-server-request         process data as XKMS server request
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.aleksey.com/pipermail/xmlsec/attachments/20110502/b519a0ec/attachment.html>


More information about the xmlsec mailing list