[xmlsec] keys manager creation failed on windows

Aleksey Sanin aleksey at aleksey.com
Mon May 2 09:52:08 PDT 2011


You don't need "double slashes".

Aleksey


On 5/2/11 3:06 AM, raghu raghu wrote:
> 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
>
>
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.aleksey.com/pipermail/xmlsec/attachments/20110502/3facb473/attachment.html>


More information about the xmlsec mailing list