语言

Menu
Sites
Language
invalid certificate when installing web app

I was getting the annoying 'invalid certificate' message when trying to run/debug my web app using the IDE. The usual reason for this is that the device's time and date aren't set, but this wasn't that, and so I had a long 'trial and error' session to track the problem down.

The solution I found was removing a single file I had created in error 'readme~' fixed it. I guess the '~' causes a problem, but I can't be sure.

I hope this helps someone...

编辑者为: Brock Boland 17 3月, 2014 原因: Paragraph tags added automatically from tizen_format_fix module.

响应

2 回复
Daniel Holmlund
Thanks for the info David. I've heard of a couple of people having this problem, and so far I don't know if anybody else has definitively solved it. If anybody else has seen this problem, it would be great if you could share your experience.
Daniel Holmlund
So this problem finally happened to me. The Tizen IDE said that the installation file that it just build had an invalid certificate. So I went to the tizen-sdk/tools directory and used "sdb" to remotely log into my Tizen virtual machine. I went to /opt/apps/widgets/ and found the *.wgt file( in my case EnyoJS-demo.wgt ) that the Tizen IDE had just created and transferred to this emulator. I typed: /usr/bin/wrt-installer -i EnyoJS-demo.wgt. and I got a certificate error again ... but this time with a little more information. Schemas validity error : Element '{http://www.w3.org/2000/09/xmldsig#}Reference', attribute 'URI': 'EnyoJS-demo/enyo/tools/node_modules/shelljs/test/resources/ls/filename(with)[chars$]^that.must+be-escaped' is not a valid value of the atomic type 'xs:anyURI'. So I went to that directory and deleted that file ( "filename(with)[chars$]^that.must+be-escaped'") And then the Tizen IDE successfully deployed the application. The bottom line is that any file name that has characters that are invalid in a xs:anyURI type will cause this error.