Backing up Outlook/Exchange Certificates - Mogul, XV6800 General

Hello all. I am going to update my ROM, but have a quick question. My work email and calendar sync to my Mogul. Originally my works IT department had to install a certificate so I could sync. When I install the new ROM, I am betting this certificate will go away.
Is there anyway to backup the Certificates so I can reinstall them myself? I am not supposed to be on the exchange server per some stupid/outdated company policy but had a friend put me in there. I would like to not have to go back to IT as I don’t want to get anyone in trouble.
Thanks for the help.

I've exported HKCU\Comm\Security\SystemCertificates\.... into a cabfile and use this one after every new rom i'm flashing
and it's working very well.
If you export into reg-file and edit this file with an hex-editor you'll find your exchange certificate for sure. and under HKCU\Software\microsoft\ActiveSync you can find your Exchange settings (servername etc). after flashing a new rom the only thing i have to do is to enter my password and that's it....if you're unsure, you could try to import into an wince emulator and test if it's working the way you want....
hth

Problem with Exchange
I have been having challenges around Exchange. I am receiving emails and calendar correctly through the push.
When I reply to cal and emails. Multiple copies are being sent, sometimes up to 7.
Any ideas? Using 6.0 rom from FallingAngel, dcd first new rom. Have not tried 6.1 yet

petervbeck said:
I've exported HKCU\Comm\Security\SystemCertificates\.... into a cabfile and use this one after every new rom i'm flashing
and it's working very well.
If you export into reg-file and edit this file with an hex-editor you'll find your exchange certificate for sure. and under HKCU\Software\microsoft\ActiveSync you can find your Exchange settings (servername etc). after flashing a new rom the only thing i have to do is to enter my password and that's it....if you're unsure, you could try to import into an wince emulator and test if it's working the way you want....
hth
Click to expand...
Click to collapse
Peterv,
Sorry, quite a noobie. How do you export to cabfile ? What tool did u use ?
Cheers
fy

fylim said:
Sorry, quite a noobie. How do you export to cabfile ? What tool did u use ?
Click to expand...
Click to collapse
you could use dotfred's taskmanager for example (for PPC) or CERegeditor (for Windows Desktop) to export or import the registryentries.
Both tools are for free. Another solution could be SASHIMI which can also import registry files. Or you could create your own Mortscript, both are also for free.
if your ROM is supporting UC there is also a section for exchange (somewhere in the thread)
If you want to create a cab, WinCECabManager is easy, but not free.
hth

petervbeck said:
I've exported HKCU\Comm\Security\SystemCertificates\.... into a cabfile and use this one after every new rom i'm flashing
and it's working very well.
If you export into reg-file and edit this file with an hex-editor you'll find your exchange certificate for sure. and under HKCU\Software\microsoft\ActiveSync you can find your Exchange settings (servername etc). after flashing a new rom the only thing i have to do is to enter my password and that's it....if you're unsure, you could try to import into an wince emulator and test if it's working the way you want....
hth
Click to expand...
Click to collapse
HI Peter,
I tried exporting those reg keys out and after flashing my rom I managed to reimport them.
When I checked the certificates in Settings, they seem to be there. Checked Activesync settings, it is also there, however, when tried to sync, got this error
"The Microsoft Exchange Server requires a personal certificate to log on. Please obtain a certificate as directed by your corporation or service provider"
There was no option to key in password.
I had to re-enroll for a certificate going through my PC's WMDevice Center before able to sync with my Exchange server again.
So ... wonder whether I am still missing something that prevents me from restoring the certificates completely. Are there any physical certificate files that I need to back up as well ?
cheers
fy

fylim said:
So ... wonder whether I am still missing something that prevents me from restoring the certificates completely. Are there any physical certificate files that I need to back up as well ?
Click to expand...
Click to collapse
Bumpdibump, the same with me - although this is regarding a transfer from Rose to Polaris - this is the best post I have found so far...
Any luck on some specific files we need to copy in addition to the registry?

so i assume that the .cer used for the exchange server is no longer on the phone?

andason said:
so i assume that the .cer used for the exchange server is no longer on the phone?
Click to expand...
Click to collapse
I don't quite remember what happened, but for my part - not sure if the cer file was there, but it didn't help much anyway since whatever cer file I tried to validate with didn't work. I am looking into a different thread using rapiconfig to get the details from my phone, but I guess it ain't enough to only get the info from registry to get the darn thing to work.
Stuck...

Related

Security Certificates with P IE

I want to access my online banking through my XDA2 (o2 UK), but I have to import a security certificate from my desktop PC. I see nothing about cerificates in the Pocket IE, How would I import it so I can access my banking.
Any ideas>>> :? :? :?
Maybe Start - Settings - System - Ñert Enroll ?
If I go into start-settings, there is a certificates icon, but when you tap on it it does not allow any certificate importing.
any other ideas???
does anyone know where the certificates are kept on the XDA2, maybe I can download the cert and copy into the place where they are read from.
help???
Big Al said:
If I go into start-settings, there is a certificates icon, but when you tap on it it does not allow any certificate importing.
any other ideas???
Click to expand...
Click to collapse
i see it too
need tool to install certificates (cer & pfx)
It's actually quite simple ;o)
Copy the .cer file to the phone, somewhere you can find it.
Open the file explorer on the phone, locate the file, and click it..
It'll then ask you if you want to import it.
Worked for me

Looking for Windows Live and Messenger

Is that an unexpired version of windows live and messenger I can install on my WM5 MDA? I only found one over on the Hermes forum, WindowsLive.PPC_ARM_NonBETA_NoDate.zip, but the post said it will only work for Hermes. Not sure if that's true or not.
Thanks.
So I was able to find a copy of Windows Live. The problem is when I install it, and try to do a search from the today plugin I get the following message.
The file "search URL" cannot be opened. either it is not signed with a trusted certificate, or on of it's components cannot be found. You might need ot reinstall or restore this file.
It's the same error message I get with MSN.
Has T-Mo done something in their ROM with their customizations. I know before installing customizations I can use MSN. It's very strange...
There's an RGU file in t-mob's rom that has some settings in it. I personally cook mine into the ROM and put the settings in the .rgu file in OEMMISC. I'm not sure what they are though.
WizardGuy said:
So I was able to find a copy of Windows Live. The problem is when I install it, and try to do a search from the today plugin I get the following message.
The file "search URL" cannot be opened. either it is not signed with a trusted certificate, or on of it's components cannot be found. You might need ot reinstall or restore this file.
It's the same error message I get with MSN.
Has T-Mo done something in their ROM with their customizations. I know before installing customizations I can use MSN. It's very strange...
Click to expand...
Click to collapse
hey, were you able to sort out the problem with live search? got the same problem outta the blue and can't seem to find anyone with this same problem in the forums.

The file 'IntShrUI' cannot be opened. Either it is not signed with

Ok found ICSinstall.cab on here and installed it, soft reset, and attempted to install the latest version of the WMWifiRouter program (which I finally succeeded in sourcing!).
However I get a message telling me cryptically that it 'cannot be installed' after attempting install. I wonder if this is related to ICS...
I now have the InShrUI.exe file in /windows/ *but* attempting to run it gives:
'The file 'IntShrUI' cannot be opened. Either it is not signed with a trusted certificate or one of it's components cannot be found. You might need to reinstall or restore this file.'
I reinstalled it over itself (i.e. ran the cab again) same error.
:-/
Was this the right file? I seem to remember it was dated 11th January 2008??
Thanks again for hte help folks!
I should say I'm running Microsoft Windows Mobile Version 5.0 (OS5.1.195 (build 14955.2.3.0).
Lastly I should say I've started a new topic as the last one was getting a bit off topic my original concern having been answered :-D (thanks guys!)
probably you only opened a shortcut (*.ink) and the shortcut pointed to a not existing file. Another thing is that it also was intsalled correctly (the *.exe), but the dll's or whatever are not installed.
Regards
Thanks. I'll try redownloading and repeating.
I was wondering if the file needed signed with some unique private key or something?
Anyways will give it a shot and report back
softonic123 said:
probably you only opened a shortcut (*.ink) and the shortcut pointed to a not existing file. Another thing is that it also was intsalled correctly (the *.exe), but the dll's or whatever are not installed.
Regards
Click to expand...
Click to collapse
Thanks for your suggestion I'm now a tiny bit further on.
On soft resetting the PPC I get the following error:
'Pocket PC Networking
Unable to obtain a server assigned IP address. Try again later or enter an IP address in Network settings.'
InShrUI is still giving the same error as before (and it's definately the .exe file I'm clicking).
However the improvement is: This time WMWifiRouter succeeded in installing...
However the same PPC networking error occurred during the install. I could probably tweak whatever is causing that error to use a static IP address rather than DHCP probably...but it's kind of dodging the problem.
And as said before I can't launch IntShrUI without getting that error. This time there is a shortcut to it though in program files.
I should also say that neither the executable or the shortcut has an Icon Image (i.e. it's the default no icon blank) so I suppose it might be the .exe file that's corrupt (since the shortcut get's it's icon from there I think?).
Last but not least:
WMWifiRouter reads:
Code:
'Not Connected'
Waiting for connection
I suspect the problem must lie with InShrUI but then again I'm a noob so I'll wait for the XDA gods to come and share their wisdom!
MrVarioII said:
Thanks for your suggestion I'm now a tiny bit further on.
On soft resetting the PPC I get the following error:
'Pocket PC Networking
Unable to obtain a server assigned IP address. Try again later or enter an IP address in Network settings.'
InShrUI is still giving the same error as before (and it's definately the .exe file I'm clicking).
However the improvement is: This time WMWifiRouter succeeded in installing...
However the same PPC networking error occurred during the install. I could probably tweak whatever is causing that error to use a static IP address rather than DHCP probably...but it's kind of dodging the problem.
And as said before I can't launch IntShrUI without getting that error. This time there is a shortcut to it though in program files.
I should also say that neither the executable or the shortcut has an Icon Image (i.e. it's the default no icon blank) so I suppose it might be the .exe file that's corrupt (since the shortcut get's it's icon from there I think?).
Last but not least:
WMWifiRouter reads:
Code:
'Not Connected'
Waiting for connection
I suspect the problem must lie with InShrUI but then again I'm a noob so I'll wait for the XDA gods to come and share their wisdom!
Click to expand...
Click to collapse
Is there no1 who can answer this? Anyone got any ideas?
Device is a hermes (T-mobile Vario-II) running WM5.....
There's one MAN point up for grabs for whoever can solve it!
I tried installing WMWifiRouter 0.89 onto a ROM which didn't have ICS included (which meant I had to try the same route you did) onto my Vario 2... I just couldn't get it to work, and I spent a while trying to make it work too.
I'm figuring that there's some deep-seated DLL or system association which ICS needs, which isn't configured if ICS is stripped out of the ROM - I ended up just reflashing with another ROM (the T-Mobile WM6.0 official ROM) and ICS and WMWifiRouter works fine.
Sorry that's not a solution, but it's the only way I could get it to work. Not an expert ROM cooker, so my knowledge of how ICS is stripped / included in ROMs is fairly limited, though I understand the concepts and techniques.
Thanks for your help Christopher.
I considered flashing a working ROM. My worry is about losing all the programs I have installed on the device (it took a long time to get it *this* customised ;-) ) is there any way to flash the new ROM while keeping the old registry entries etc. for registering my programs (Especially those I've bought such as Oxford Handbook of Clinical Medicine - which I cannot register anymore)? ...
Or could I somehow back up the registry and restore it later (I know that's likely to be a dangerous idea...perhaps simply the file associations and programs stuff -the windows mobile section?)
Thanks bro!
MrVarioII said:
Thanks for your help Christopher.
I considered flashing a working ROM. My worry is about losing all the programs I have installed on the device (it took a long time to get it *this* customised ;-) ) is there any way to flash the new ROM while keeping the old registry entries etc. for registering my programs (Especially those I've bought such as Oxford Handbook of Clinical Medicine - which I cannot register anymore)? ...
Or could I somehow back up the registry and restore it later (I know that's likely to be a dangerous idea...perhaps simply the file associations and programs stuff -the windows mobile section?)
Thanks bro!
Click to expand...
Click to collapse
Bumping as no replies for ages
Anyone?
Bumping again as no replies for a week or so
Bumping again to ask if anyone knows a way of slving this without having to reinstall all my programs, re register them, and reconfigure everything? (which I suspect installing a different ROM will do?) is it possible to back up the registry entries for all of my programs then do the ROM upgrade and restore the registry entries from my other programsMost of my programs are installed on the microSD card anyway (i didn't want to use up the main memory and slow the device up).??
If so how?
Thanks again folks !
I have the same problem...
I cant seem to find the answer but will continue to try.
if your programs are installed on your memory card then chances are you should be able to past shortcuts into the programs directory after reflashing. I tend to do this BUT I have found some programs that need to be re-installed or re-registered. Backing up registries can cause SERIOUS problems in itself so I would 1st do a full backup of your system (try spb backup, it backs up EVERYTHING on the phone then re-installs the lot so it seems like you never had a problem..) then flash. Try putting on shortcuts and if you have no luck you have the choice to start again on the new os or reflash to old and then restore backup (old problems wil still be there). Hope this helps.
Ps. I use resco explorer instead of the crap file explorer on the phone. It allows MUCH more versatility to do as I want. Cheers....

Importing email settings when upgrading rom

When installing new roms which we'll now do a lot, is there a way to import your email settings to the new rom? Or do we have to reconfigure again every time we install a new rom?
It shouldn't be a problem to find the specific file which includes the configuration and copy it to the new rom, I just don't know which one is it.
Thanks.
check out SASHIMI... it can not only automate your email settings but also install your favorite programs (e.g., cab files). if you ask me it's a must have app for flash addicts!
Thanks Cortez.i !
Sashimi looks great but a couple questions:
1. When I press the link, I don't have a way to download it there (nor its documentation).
2. Does it know itself to import all the different registery files: emails, ringtones, shortcuts on home screen, favourites in ppl tab, etc. or do I need to manually find each of these registtery files and insert it there.
3. For the email he uses Makisu application. Is there a way to import my current emails configuration there or do I need to redo it (not a big deal)?
Thanks.
Sorry, ignore first point as was an idiot. One needs to register to be able to download.

[SOLVED/FYI] Active Sync with Wildcard Certificate

Dear Members,
It was bit frustrating that my office exchange email uses a wildcard certificate for validation. As we all know, the newer builds of WM does not allow connections using wildcard certs. So i was not able to configure my push email on my device when i used custom roms
(Ref: http://technet.microsoft.com/en-us/library/cc182301.aspx)
Windows Mobile 5.0 does not support the use of wildcard certificates for device-to-server authentication. This restriction applies to all communications, including Exchange ActiveSync.
Click to expand...
Click to collapse
However, i noticed that stock roms (i used 1.66, My device is Leo, SEA region) allow sync using wildcard certs (there will be a warning on initial sync, but syncs fine after that)
So, I flashed a stock rom, configured my activesync. Finally I extract all relevant entries from below registry keys:
[HKEY_CURRENT_USER\Security\Software\Microsoft\ActiveSync]
[HKEY_CURRENT_USER\Software\Microsoft\ActiveSync\Partners\"some GUID"
...
Click to expand...
Click to collapse
Note: To make life easier, after flashing stock rom, do a registry dump (before and after) using CeReg to PC. Then use compare in CeReg and export the regs into file.
I have put the reg settings as ext package and cooked it in. It syncs fine without warning. The prob is, now i am unable to select or change the additional folders to sync with. Would cooking in as ext mess up the ability to select Menu - Tools - Manage Folders... ?
Anyways, im posting this info here as i searched highs and lows on getting activesync to work with wildcard certs and found no solution. Im hoping someone out there with same problem could advice if there are any better solution or my somewhat usable solution may be helpful others as this does get the pushmail working. My solution syncs inbox just fine (only cant select additional folders to sync).
Any suggestions/ideas are most welcome.
Solution/Work around the problem is in post 1 to 3.
My current ROM info: SYS 21903 / Base TMOUS 2.13 / Manila 2.5.20121412.2
Well, about not being able to select the "Manage folders", i found a way around the prob:
1. Under active sync partnership - Option and uncheck the "Mail". It will ward about deleting the mails on device. Just choose OK.
2. Reboot device.
3. Similar to step 1, enable mail back. Upon sync, you will be able to select the manage folders option.
Apparently to get the list of folders, we need the synckey to be 0 in the request sent to server. I do not understand nor know how to make the device send synckey as 0. So, this temp solution works for me.
anyone with better solution? Guess next step is to find out whick key in reg exactly enables to bypass the wildcard certificate restriction.
Reference: http://blogs.msdn.com/b/openspecification/archive/2010/04/24/activesync-iii.aspx
Solved
Upon further experimentation, i discovered that active sync does not create any registry entries until first successful sync.
So, this lead t only 1 conclusion - We need to create the reg entry our self and merge it to registry during cooking process/cab/etc. Then, do as described in post #2.
Anyone with wildcard cert prob, and do not understand what im talking about here may drop me a PM and i'll provide with further details as im sure very very few of us are having this sort of problem!
I'm changing the title to SOLVED/FYI as i successfully cooked my exchange email settings and synced without prob.

Categories

Resources