[xmlsec] keys manager creation failed on windows

raghu raghu bgraghu2005 at gmail.com
Wed May 4 00:45:11 PDT 2011


tried by eliminating double slashes but ended up with a Runtime error,

Runtime Error
Program:C\WINDOWS\system32\xmlsec.exe
R6034
An application has made an attempt to load the C runtime library
incorrectly.


C:\WINDOWS\system32\xmlsec.exe  --verify  --pubkey-cert-pem
c:\docume~1\raghu\locals~1\temp\tmpo4mhfq.pem  --id-attr:ID
urn:oasis:names:tc:SAML:2.0:assertion:Assertion  --node-id
s28d32936e102be7ef2f17d6b89d140a2b53e6cacd
c:\docume~1\raghu\locals~1\temp\tmphdgbrw



On Mon, May 2, 2011 at 10:22 PM, Aleksey Sanin <aleksey at aleksey.com> wrote:

>  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 listxmlsec at aleksey.comhttp://www.aleksey.com/mailman/listinfo/xmlsec
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.aleksey.com/pipermail/xmlsec/attachments/20110504/9f482dd9/attachment.html>


More information about the xmlsec mailing list