Artemis, Windows Mobile 6, signed Midlet install - P3300, MDA Compact III ROM Development

I am testing a midlet that accesses PIM on the Artemis (HTC 3300) with Windows Mobile 6.
I created a root CA certificate using openssl and added it to the cacerts store.
Used Keytool to generate csr and got it signed by the CA (above) using openssl and imported it into my keystore. I am using EclipseME for development and the key verifies ok. I signed the midlet the normal way in EclipseME. I have Intent Midlet Manager on my device.
Questions:
1. Is the process above ok?
2. I need to register the root CA certificate on the device. I did and it shows up in the list of root certificates. Do I need to register the signed certificate too?
3. When I try to install the midlet in the Manager, I get "Unable to verify signature" error. What is missing?
Thanks for the help...

Related

application file cannot be opened .either it is notsigned with trusted certificate

I am having problems with applications under Windows Mobile 5.0. When i try to run them i get the following error.
The file 'foo' cannot be opened. Either it is not signed with a trusted certificate, or one of its components cannot be found. You might need to reinstall or restore this file.
1)Is there anyway of disabling the checks for trusted applications in Windows Mobile 5.0 on the Wizard?
I think this error becuz u r trying to run wm6 applications under wm5
vodovodo said:
I think this error becuz u r trying to run wm6 applications under wm5
Click to expand...
Click to collapse
I have same problem for BA wm 6.1 5.2.19199.1.0.0 PV DVH. Some people offered solution of HR. I don't agree with this. because we have to lose what we've been installing and spend more time re-installing them. so much time-wasting?
Any other solutions, please?!
Thanks in advance.
Problem may be cause of your SD card if u r using WM6. SD card PowerManagment value is set("DisablePowerManagment") to 0 in your registry. This means after a while your device will set your SD card power off for savg batttery. This cause to unread your program files etc while u start any program on your form your SD card device.
I fixed this problem like that;
By any registry editor:
Find the Path:
"Hkey_local_machine>drivers>sdcard>clientdrivers> class >SDMemory_Class"
after that find;
""DisablePowerManagement"" key and set its value to "1" than save and exit. Than soft reset your device. Problem will be fixed.
Sorry for my bad english.
Windows Mobile powered devices are shipped with default security settings.
The security model enables Mobile Operators to make post-production changes to security settings.
This can place significant restrictions on software which has not been signed and approved.
However you can change the default settings.
Take control of applications on your phone.
"All listed settings are decimal"
1. Connect the phone through ActiveSync.
2. Run your favorite remote registry editor "CeRegEditor (Download)" "Mobile Registry Editor (Download)" on your PC. http://ceregeditor.mdsoft.pl/
3. Navigate to HKEY_LOCAL_MACHINE\Security\Policies\Policies
Unsigned Prompt Policy:
This policy indicates whether the user is prompted to accept or reject unsigned .cab, theme, .dll and .exe files.
HKEY_LOCAL_MACHINE\Security\Policies\Policies
DWord = 0000101a Data = Use the following-->
0 = Indicates user will be prompted.
1 = Indicates user will not be prompted.
you will set that register decimal 1. that is solved problem
I have a HTC Tytn II and i get the same error. However, When trying to alter data using the reg editor you recommended, i found the 0000101a was already set to 1. Any other ideas?
Hi All,
Would someone be so kind to me a explain how I can move a package from the EXT directory or one Kitchen to the EXT directory on this version of kitchen.
I thought I could just simply copy the directory? So I had a go compiling a version of youtube from a different kitchen It would seem mot to work thou as I get the dreaded The file 'xx' cannot be opened. Ether it is not signed with a trusted certificate, or one of its components cannot be found. If the problem persists, try reinstalling or restoring the file.
Any ideas how to get this to work?
Or look for the tool MsSigner, it can be found in most kitchens.
You'll be able to sign it with a signature that is accepted after you aply the enablyRapi and SPCCerts policies.
You're probably missing a key dependency package like dshow (mshow?) or concurrence manager. Also, make sure the shortcut path is valid. Lord knows why, but that's the message you get for bad shortcuts.
josephwsl said:
I am having problems with applications under Windows Mobile 5.0. When i try to run them i get the following error.
The file 'foo' cannot be opened. Either it is not signed with a trusted certificate, or one of its components cannot be found. You might need to reinstall or restore this file.
1)Is there anyway of disabling the checks for trusted applications in Windows Mobile 5.0 on the Wizard?
Click to expand...
Click to collapse
maybe .NET CF is missing or not up-to-date?
RAMMANN said:
maybe .NET CF is missing or not up-to-date?
Click to expand...
Click to collapse
ahh i love you bro, u saved me an hassle i tried everything and it was the net.cf
damii said:
you will set that register decimal 1. that is solved problem
Click to expand...
Click to collapse
When I try that, I'm told I don't have the authority to access that. :-(
now what?
Yeah, me too!!!
All of a sudden too. Everything was fine then I got these certificate errors every time I try to run Haret.exe to run android. This happened last night. Did my provider change something on me?
I try to change that registry key and it won't let me.
Re:this post
I have same problem for BA wm 6.1 5.2.19199.1.0.0 PV DVH. Some people offered solution of HR. I don't agree with this. because we have to lose what we've been installing and spend more time re-installing them. so much time-wasting?
You need hard reset!
Same problem "certificate errors" and a hard reset wont work
Plz help
damii said:
Windows Mobile powered devices are shipped with default security settings.
The security model enables Mobile Operators to make post-production changes to security settings.
This can place significant restrictions on software which has not been signed and approved.
However you can change the default settings.
Take control of applications on your phone.
"All listed settings are decimal"
1. Connect the phone through ActiveSync.
2. Run your favorite remote registry editor "CeRegEditor (Download)" "Mobile Registry Editor (Download)" on your PC.
3. Navigate to HKEY_LOCAL_MACHINE\Security\Policies\Policies
Unsigned Prompt Policy:
This policy indicates whether the user is prompted to accept or reject unsigned .cab, theme, .dll and .exe files.
HKEY_LOCAL_MACHINE\Security\Policies\Policies
DWord = 0000101a Data = Use the following-->
0 = Indicates user will be prompted.
1 = Indicates user will not be prompted.
you will set that register decimal 1. that is solved problem
Click to expand...
Click to collapse
Thanks! That really helped me. You literally saved me a good night sleep. I was already desperate.
Wow, it works Thank you!!!
Awesome!!!
This worked perfectly. Thanks so much for the help. I've been racking my brain about this for over an hour now, then found this through a search.
Thanks!
OMG
I have the same problem and I tried :
1/ Hard Reset
2/ Rom Update
3/ installed NetCFv3.5
4/ editing values in the registry
what els ????!
plzz i need your help

New Windows Mobile Developer Certificates

Hi everyone.
As of 12/31/2009 the test certificates that shipped with the Windows Mobile SDK expired. However, we’ve gone ahead and generated new certificates that you can drop in to rectify this problem.
If you’re a developer you can put these certificates right into Visual Studio (or sign via command line). If you’re a tester, you can follow these instructions to create a provisioning file for a device, so that you don’t need Visual Studio to push certificates onto test platforms.
http://windowsteamblog.com/blogs/wm...ew-windows-mobile-developer-certificates.aspx
Thanks a ton buddy. I was designing an app that writes to a privileged portion of registry. Without these certificates, it was impossible. So you saved my day

Touch Pro2 Certificate problems

Hi All.
At the moment we have a problem with the HTC Touch Pro2.
TMobile Netherlands has a custom rom placed on these devices.
We need to install new certificates but when we install them on devices with that TMobile rom it says "Installation Failed"
Is there any way to unlock the certificate store on those devices?
You have copied the .CER file to the device and double clicked it in your mobile explorer?
I've only used it to enter my Certificate Server rootcertificate to the trusted root store in my TP2.
Doubleclick on a .CER file should do it.
ronh said:
You have copied the .CER file to the device and double clicked it in your mobile explorer?
I've only used it to enter my Certificate Server rootcertificate to the trusted root store in my TP2.
Doubleclick on a .CER file should do it.
Click to expand...
Click to collapse
Hi ronh,
i've tried that already but it's telling me "Installation failed".
We've also made a cab file and tried to install it that way but that also doesnt seem to work.
When we install the same certificate on telephones without the dutch T-Mobile rom, it installs with no problem.
It looks like T-Mobile blocks the possibility to import certificates.
When you double click a .CER file on you TP2 it must import it automatically.
Strange...

Can't deploy apps

Hi all
Great forum...
I am trying to deploy an application from Visual Studio 2005 to my Zest phone. I have done this a hundred times in the past but for some reason it is now failing with an error:
The device security configuration disallowed the connection. Ensure that you have the appropriate certificates on your device for development. Review your SDK documentation for proper security settings for connecting to this device.
I have wasted two days now trawling the net trying to find a solution but with no luck.
I have tried to instal the SDKCerts.cab but it simply wont install.
I have tried to edit the registry using mobile registry editor but get access is denied.
I have tried to install enablerapi but that fails to install also.
I have move the .exe manually and tried to run it but it complains that the app is not signed with a trusted certificate.
I am not too clued up on certificates so I really don't know where to go next.
Any help really apprciciated.

[HKLM\Init] Launching programs problem

Hi!
I'm a beginner, and I searched in the forum, but I haven't found the answer to my question in the forum.
I work with a Windows Mobile 6.5 OS. I try to launch an application at the startup by configuring the register
HKLM\Init
LaunchXX = myProg
DependXX = myDepencies
My program just creates a file, so I can check if it was successfull or not.
It works when I set "Launch100". But when I try to launch it before home.exe for instance, it doesn't work!
I use SignalStarted function. I've tried also the IsAPIReady function, but it's still not working. I tried this on an emulator (of visual studio 2008), I can repeat this problem.
However, when I sign my program with signtool, it works on the emulator. But of course, I can't sign my app for a real phone. Does that mean that the application must be signed when they are launched (via LaunchXX) before some others?
Anyone has an idea? Thank you for your help!
Right, your app must be signed in order to be run from HKLM\Init. You may create your own certificate with makecert tool and then install it with your app.

Categories

Resources