VPN and activesync - Touch CDMA Android Development

alright so got this active issue that i am certain i will figure out.
in order for me to create a partnership with outlook i need to connect via USB. we all know, at this time that is a 'no dice' situation. ok fine.
we have a VPN that i can log into (as long as i register the certificate and all that jazz). this information creates 2 questions.
1. if i log into the VPN, could that eliminate the need to create a partnership via USB?
2. where would i put the certificate if launching through Haret and in the long run, NAND?
thanks in advance
-------------------------------------
looking to oust M$MO. one more step and its ousted.

ok so i had some time and did some playing and determined nomatter how i setup the vpn or where i put the certificate, there is no way around the security protocol on our exchange server.
tallked to our IT guy and he says "corporate has scheduled vpn maintenence for this weekend, they are 'suposed' to include OTA certificates.
i will post again when i have a chance to play with the new configs.

Related

Email on Vodafone Blocked?

I've had no problems to date sending/receiving email with my TyTN and now TyTN II/Kaiser.
However, this morning I discovered that I could no longer do this. Pocket Outlook reports "Error Synchronizing ... check your settings" message almost immediately when I try to send/receive emails.
None of the settings have changed. Just to be sure, I changed "WAP" to "Work" and "The Internet". The last two settings no longer produce an instant error, but the email just says "Connecting..." and then does nothing.
Which makes me ask the question - have Vodafone UK started blocking email? Anyone else having problems? The Internet and other applications can access the net with no problems.
Just tryed vodafone in the netherlands and it works fine.
Which email service?
I would guess its more likely a problem with the mail server.
I have no problems with Vodafone UK and connecting to my company Exchange 2003 server.
Hi freenfast!
I want to connect to my uni's Microsoft exchange Server.
I am not successful though.. and have read and searched!
I get an error message - error / support code - 80072ee2
I am wondering if I need some kind of certificate....
I was hoping to find a way to synch with the Exchange Server using,
1. my PC via a cable,
2. my PC via WiFi,
3. via GPRS when I am out and about,
4. via WiFi when I am out and about.
Should I be able to achieve all of these? OR am I expedcting too much !
Any help appreciated!
Ofiaich
ofiaich said:
Hi freenfast!
I want to connect to my uni's Microsoft exchange Server.
I am not successful though.. and have read and searched!
I get an error message - error / support code - 80072ee2
I am wondering if I need some kind of certificate....
I was hoping to find a way to synch with the Exchange Server using,
1. my PC via a cable,
2. my PC via WiFi,
3. via GPRS when I am out and about,
4. via WiFi when I am out and about.
Should I be able to achieve all of these? OR am I expedcting too much !
Any help appreciated!
Ofiaich
Click to expand...
Click to collapse
I believe if you go to https://(your university mail server)/server.cer in your Pocket IE, you will be asked to save the certificate. After you save it, you should be able to access your school's exchange server directly.
Hope it helps,
- TKN
Hi tariq_niazi!
thanks for your quick reply!
tariq_niazi said:
I believe if you go to https://(your university mail server)/server.cer in your Pocket IE, you will be asked to save the certificate. After you save it, you should be able to access your school's exchange server directly.
Hope it helps,
- TKN
Click to expand...
Click to collapse
I have added a screenshot below. The message is
the requested url/server cert was not found on this server !
My servers address for email logon in is http://owa. uni name. co. uk
But I did type https://owa. uni name. co. uk/server.cer in Pocket Explorer !
Ofiaich
hmmm I guess it works differently for servers running Microsoft version of Exchange Server. But I run a Kerio Mail Server that also has this exchange capability, I can simply get the certificate over the air. Let me check if my university gave any instructions on how to download the certificate (it there is any). Let me get back to you as soon as I can.
- TKN
Thanks very much tariq_niazi !
I was told by the university that they do not use certificates but their information setting up a XP Laptop to work with the new server clearly states that you need to "check here" to Vaildate server certificate.
Then there is certificate called GTE CyberTrust Global Root !
As I had typed before, my hope is to be able to do these,
1. my PC via a cable,
2. my PC via WiFi,
3. via GPRS when I am out and about,
4. via WiFi when I am out and about.
Thanks for your time !
Ofiaich
My university (Cal Poly Pomona) uses a certificate from Thawte Premium Server CA which is already in my Pocket PC by default. That is why I am able to sync with their servers using SSL. You can check and see if your school uses a SSL certificate that is preinstalled in your device by double clicking on the security icon in your browser when you go to your email login page. There are ways I remember to export a PC version of SSL certificate to Pocket PC certificate using a tool. I cannot remember but if you google around, you should be able to find it. I believe the file format for that SSL certificate for your Pocket PC will be der instead of cer in my case.
Hope it helps,
- TKN
Hi tariq_niazi!
thanks again for your time... !
tariq_niazi said:
There are ways I remember to export a PC version of SSL certificate to Pocket PC certificate using a tool. I cannot remember but if you google around, you should be able to find it. I believe the file format for that SSL certificate for your Pocket PC will be der instead of cer in my case.
Hope it helps,
- TKN
Click to expand...
Click to collapse
Yes, I just checked tools -> Internet Optons -> Conten -> Cerficates
and sure enough the GTE CyberTrust Global Root is in the tabbed list of Trusted Root Certificates.
There is also an 'export option' which then launchs a wizard.
There are now 3 options for the format to choose
DER Encoded binary x.509 (.CER)
BASE-64 Encoded x.509 (.CER )
Cryptographic Message Syntax Standard PKCS #7 Certificate ( .P7B )
I can then see if I choose, for example, the first one, that I have to name the file, choose a location etc and save it!
I guess I can save all 3 types, then find the directory on my Kaiser to copy them to!
Maybe device/windows/system/certdtls ?
Ofiaich !
Let me know how it goes, I am interested in seeing if this method works or not.
- TKN
I will ! I will post here!
Do you think I am correct with my choice of directory on the Kaiser?
I am search for info on that now.
Tomorrow, I might not post........... busy day... but Wednesday, I will definitely post..
thanks again !
Ofiaich
As far as I know, you should be able to click on the cer or whatever file you got and it will install automatically. That is what happened whenever I downloaded the server.cer file directly from my mail server. I am not sure of placing those files in the folder you have mentioned but it does not hurt trying and see if it works.
- TKN
Hi!
I got the certificate on my Kaiser now! Thanks! Imported it to the Kaiser through ActiveSynch
Now I have changed the ActiveSynch settings for calendar and mail, so it checks on the server..
I left Contacts Tasks and Notes on the PC,
I would have thought synching would be quick..
now I get the error message - error / support code - 80072ee2
again............ Hmmmm... nearly there....
I have a new question..! Any ideas what a 'device sms address' is ?
Sleep time for me !
Thanks again!
Ofiaich
Hi!
I am still not successfull with this!
I can synch my Kaiser to the PC and synch contacts, calendar, notes, emails etc but still get the error message - error / support code - 80072ee2
I read elsewhere in XDA Developres to turn off the firewall. I know this is not a good idea, but tried it, no luck with synching, so switched it back on again.
I am frustrated that I can only synch when at home with the PC via cable !!
Ofiaich
FIXED
I managed to fix this in the end. Turns out that Vodafone UK were not blocking emails after all
Go to Connections \ Settings and select "Select Networks".
I changed "...connect to the internet should connect..." to "My ISP" and then it all worked.
This has really puzzled me, because I have not installed any software, or changed any other settings. It just stopped working. I had a similar issue with other software getting data from the internet, which again involved changing a setting in Connections.
It's all a ball-ache to be honest, and probably one of the worst things about Windows Mobile.
Hi!
I tried that to see if it sorted my problems too....
But I still get error / support code - 80072ee2
I am sure the university is doing something with their server !!
I am out of ideas....
Ofiaich
Hi!
got the Microsoft Exchange Server working now....
Outlook 2007 PC address on the PC was different to what I should use for synching with the Kaiser...!
Strange but T_r_u_e !
Attachments in Hotmail still do not work, but don't care...! The email throught M.E.S. gives what I need !
Ofiaich
Glad to hear it!
- TKN

Need help with cert issues and direct push

I've been messing with direct push but haven't gotten it working yet, and I'm basically curious if it's even possible with my company's setup. Our IT group will not assist in any way or alter any certificates.
My company uses a wildcard cert on our OWA. The signer is in the root store on my Tilt. The CN on the cert is *.mycompany.com which obviously does NOT match the OWA address which is webmail.mycompany.com. I've read in another thread that this is required but I wasn't sure if this is true. I can't even get to our OWA in PIE. It just throws "The page cannot be displayed because the Web site cannot be authenticated". It works fine in Opera mobile. When I set up direct push, ActiveSync fails with the support code 0x80072F7D. If I intentionally botch my username or password I still get the same error, so I'm assuming it is happening due to cert issues before the connection can even be made.
Is direct push even possible with my company's cert setup or am I just poked?
If you can get the the .cer file copy it to your kaiser and open it. You should get a message saying its been successfully installed. That should be enough to get it working as long as the server is set up correctly.
if you can't login to OWA or OMA through PIE then it won't work through direct push. They have to be accessible via the browser without any prompts about certs or whatnot. The issue here seems to be a funky cert. setup.
Thanks for the responses. The cert is/was already installed on the device. Looks like the CN matching the OWA address might really be true and I'm poked. I've gone to SEVEN as a workaround. Well written (unlike the emoze OWA app which brought my phone to a screeching halt), but sometimes emails have a delay of up to 30 minutes . All well. And damn the kaiser forums are busy, I was already page 7 news
Are you trying to access OWA using https? Also, *.mycompany.com does match webmail.mycompany.com. That is the point of the wildcard. ipodzsuck.mycompany.com would also match.
It could be a private certificate. Hell, exchaneg maynot be setup to allow activsync.
Try using a browser and going to https://webmail.mycompany.com/certsrv
There is probably a certificate server that was used to generate the private cert.
It is not neccacarilly the same as the webmail server but is worth a shot. Also if you know any other server names you can try those with a "/certsrv" at the end.
Good Luck, Lew
To the best of my knowledge and extensive frustration, you can't use a self-signed cert. If you aren't using a self-cert, you should be ok, HOWEVER, getting it set up right is extremely tricky. Once we got it up, I tried to help a customer a little, never got it working properly - we got the cert working but the folders wouldn't sync.
My experience is it is very easy as long as you install the private cert on everything that is goign to connect.
Later, Lew
lewcamino said:
Are you trying to access OWA using https? Also, *.mycompany.com does match webmail.mycompany.com. That is the point of the wildcard. ipodzsuck.mycompany.com would also match.
It could be a private certificate. Hell, exchaneg maynot be setup to allow activsync.
Try using a browser and going to https://webmail.mycompany.com/certsrv
There is probably a certificate server that was used to generate the private cert.
It is not neccacarilly the same as the webmail server but is worth a shot. Also if you know any other server names you can try those with a "/certsrv" at the end.
Good Luck, Lew
Click to expand...
Click to collapse
Thanks Lew. I can indeed hit the OWA at /certsrv on any desktop, but not PIE. And yes, it's using https. I kind of doubt the exchange server is even set up to allow it. Is there any way I can tell for sure short of logging into the server? Also, I'm not sure if this has anything to do with my problems, but if you hit our OWA inside of our corp. network the cert is a different one and is self signed.
self signed certificates
I have been trying to resolve this same issue with my tilt. I have set up a self signed certificate for my exchange server. This certificate works on any pc inside or outside the local network; however, the certificate will not install as a root certificate on my tilt. After installing the certificate it appears as an intermediate certificate, but not a root certificate.
I think that att has blocked the software so that self signed certificates will not install in the root directory. Not sure of the motivation for this other than to force users to use their express mail service which costs $5 per month.
Are there any work arounds for this? Can applications be unlocked?

SOLVED: Exchange sync error 0x80072F0D

Hello,
My company uses Exchange server 2003 sp2. I've tried to sync my TyTN II several times but I always get this message: "The security certificate on the server is invalid. Contact your system administrator or ISP to install a valid certificate on the server and try again".
I'm actually able to access https://myserver.com/OMA (not http) using my nickname and password, but I don't even know what that means. I talked to the IT guys and they just sent me to a Microsoft page where it says: "This problem may occur because the device manufacturer locked the Windows Mobile 5.0-based device. This lock prevents you from installing Secure Sockets Layer (SSL) certificates correctly".
So, their only answer was: contact your manufacturer to see if the device is locked (??). (Although they also said I didn't need a SSL certificate)
¿Could anybody please help me to understand this? ¿Do I have to install a certificate? ¿Do the IT guys have to do it? I really need to solve this so any information is welcome
thanks a lot.
If it is a "self-signed" certificate (and not an official one bought f.e. via verisign.com), than you have to install it on your device to make it "valid". Additionally the Hostname provided in the certificate must exactly match the hostname of your exchange-server otherwise it won't work either. HTH
PS.: you can find out both when you access your companys exchange server via OWA (OutlookWebAccess). Once you're logged on you can examin the certificate and look if the hostname matches, if the certificate is still valid (every certificate has an expiration date) and who the "certification authority" is.
You can still use OWA if the company allows you to use it unencrypted. Just uncheck use SSL during setup.
I'd be curious if anyone would know how to rip the public key from Firefox or something so it can be imported to the phone to make it work.
I have been told if you can get your exchange admin to send you the .CERT file from the IIS webserver you can run that on your phone and get it to work. However, I believe that has the public and private key pairs, which is a security risk to your entire organization if you have the private pair!
jon_k said:
You can still use OWA if the company allows you to use it unencrypted. Just uncheck use SSL during setup.
Click to expand...
Click to collapse
domain credentials over unsecured channel, bad mojo man
Your IS guys should have a certificate for you to install which will resolve the problemI have a root ca certificate for my company installed on my phone so I have no problem using any certificate they sign.
As already said, check the hostname matches extacly and check the expiry date of the certificate.
Hey Guys, thanks for all your answers!
I'm logged on the OWA server and the certificate says "Equifax Secure global eBusiness CA-1". The expiration date is 24/02/2010. Does anybody know how can I install this on my device? I checked the hostname and it matches perfectly
If it is like the certificate I have to use to get my Tilt/Office Exchange to work, then you just double click on it and it should say "Installed" or something like that. After that, assuming you have everything else setup, it should work like a charm.
thanks a lot to all you guys! Had some problems because the certificate would install in the "intermediate" store, instead of the root store, but I found this site and followed the instructions:
http://www.confusedamused.com/notebook/installing-windows-mobile-60-root-certificates/
It's synchronizing right now and it's way faster than activesync!
Well I was able to save, and copy the certificate by going to my companies OWA site.
I copied it via memory card, and was able to install it. Upon installing it I'm not asked for an option of where to install it (root vs. intermediate, etc)
Unfortunately by default it is going to intermediate.
I hope that this will fix it once I figure out how to install it into root.
For now it has not fixed my problem, still get an error synchronizing with the server.
Edit:
Strange, I re-installed the certificate, to make sure it was from the "head" title branch (my company has an extra level to the branch so I tried both), and this time instead of soft-reset, I completely shut-down the phone.
Powering it back up, it now sync's fine, and there is a 2nd verisign cert with a different expiration installed in the root store. My poor outlook is still syncing data as it catches up for the last couple weeks!
Doh.
WeldingRod said:
Well I was able to save, and copy the certificate by going to my companies OWA site.
I copied it via memory card, and was able to install it. Upon installing it I'm not asked for an option of where to install it (root vs. intermediate, etc)
Unfortunately by default it is going to intermediate.
I hope that this will fix it once I figure out how to install it into root.
For now it has not fixed my problem, still get an error synchronizing with the server.
Edit:
Strange, I re-installed the certificate, to make sure it was from the "head" title branch (my company has an extra level to the branch so I tried both), and this time instead of soft-reset, I completely shut-down the phone.
Powering it back up, it now sync's fine, and there is a 2nd verisign cert with a different expiration installed in the root store. My poor outlook is still syncing data as it catches up for the last couple weeks!
Doh.
Click to expand...
Click to collapse
I also had this problem, and the sync. still does not work... if someone has some idea
Thank you
hello everyone,
I got this to work by installing the .cer certificate from the self signed website certificate AND installing a .cer from the server's self signed ROOT CERTIFICATE. The root certificate is usually located on the C: drive of the server with certificate services installed. Your IT guy should know where this is. You just copy the root cert to a file just as you would the website cert. Install both on the phone...the website cert will go to "intermediate" and the rott cert will go into the "root" store. Once I did this, no more error codes and my activesync shows "connected" instead of the last time it was synced.
Hi
Had the same problem and it's solved thanks to this solution mentioned by oscarsalgar
It's working perfect !!!
Thank you very much
K'uvo man, gracias puesh hermano, me salvaste la vida puesh. Triple hijueputa q me ayudo este post man. Gracias pelado!!

Problems with synching exchange mail - Kaiser and Wizard...

I have received a HTC TYTN II from my company, which currently is synching with our mailserver so that I can read my email wherever I am.
Since I'm curious, I tried to get my old Wizard to do the same. I did the same install as with the Kaiser, but I get the dreaded "0x85010004". I scanned thru the Kaisers registry and took all root-certificates under "HKEY_LOCAL_MACHINE\Comm\Security\SystemCertificates" and imported them into the Wizard and rebooted, but no luck. I am assuming it's a certificate of some kind that is missing, but I can't find where else it could be? Does Exchange install a hidden certificate on the phone in order to identify it, and if so - why isn't it shown in the certificates menu?
Any help is appreciated.
BR
Fredrik
activesync cert with exchange
hi fredrik,
activesync accessing exchange on a mobile device uses OWA (outlook web access) to access your email through SSL. the best way to get the cert you need is to log into your OWA (probably something like https://webmail.yourcompanyname.com) or whatever it is (it's the same address you use when you put in when confiigure exchange with activesync) from a desktop pc. than, right click on a blank portion of the page and go to properties. you should see a button that says certificates, click on that, than click on the details tab. than click on the "copy to file" button and the cert export wizard will start. click next, than select base64 as the type of cert, than hit next, name it, save it, put it on a memory card or bluetooth the file to your phone and install it. sometimes, during the install, your phone will error out when installing it, just soft reset, and then install it again. you should get a message that says it was installed successfully. than configure for activesync for exchange on your phone and you should be all good. let me know if that works for you.
Thanks for the help!
Tried that and got the same problem. The original phone has Pointsec installed in it, but I do not think that it gerenates any certificates (at least not any I have found in the registry). Is the ACU version important?
/F
Talked to my IT department and they told me that Pointsec decodes a certificate in order to communicate with our mailservers. Anyone any good at pointsec and knows if it puts a crypto on the Registry or if it is purly file based? If the file is decrypted each time I punch in my code, it should register the time when the file is being decrypted... What programs can search files in WM and search for the time stamp?
BR
Fredrik
I have an AT&T Tilt. I had Direct Push from Exchange Server working perfectly with no effort - was working for months. Then, I had a hardware problem with that phone and was given a replacement from AT&T. After replacing it I am unable to configure the direct push any more. I wrote down all the settings and carefully reapplied them on the new phone.
What I am seeing now is when manually invoking a send/receive, ActiveSync reports the following:
------
Result:
The server you are synchronizing with is not an Exchange Server, or is running incompatible
software. Choose Configure Server on the ActiveSync menu to specify the correct server.
Support Code: 0x85030022
------
I've been on the line with the hosted exchange server folks and there's no change on their end...
I installed the certificate as suggested above - seemed like it was worth a shot. No difference.
Any ideas?
sorry for the late reply.
I'm not too sure about your pointsec fredrick, as we don't use it on our mobile devices at work, but we do use it on our computers. as far as i know, pointsec is supposedly suppose to be transparent encrypt/decrypt after you first turn on your device and enter a passcode, heck, windows mobile should operate like pointsec isn't even on the device, so it shouldn't be a cert issue, but who knows, i never liked pointsec anyway. sorry i can't be more helpful.
ubetchya,
that error message is pretty straight forward, either the OWA address is wrong or your certificate isn't installed correctly. i know this sounds lame, but if you can, borrow a friend's Windows Mobile phone and config it with activesync to verify your settings are correct. for the owa address, try adding "/exchange" without the quotes at the end, maybe their redirect isn't working correctly. so if your server address is "https://webmail.hostedexchange.com", make it look like "https://webmail.hostedexchange.com/exchange" (that should take you to directly to the exchange server without using their redirect). if you want, you can also try downloading the certificate directly from your hosted exchange guys, if they have the cert page up that is (most exchange admins leave it up, i know we do =P ) to get to the cert page, go to a desktop pc...
1. type in your webmail server address and add "/certsrv" at the end without the quotes (ie; "https://webmail.hostedguys.com/certsrv"
2. it will prompt you for a username, it should be in the following format "domain\username", so if my domain was microsoft, and my username was bill, than my username would be "microsoft\bill" without the quotes
3. enter your password.
4. click on the last link, "download a certificate, certificate chain, etc"
5. select the base 64 encoding method and than click download CA certificate.
6. save it to a memory card or bluetooth it over to your phone and install it.
hope that helps!
oh... and one more thing about your server address, it could be different than adding "/exchange" at the end, to verify, just to your webmail and see wear it redirects, when you get to your login page (if using forms based authentication), use that address, if not using forms based, (small popup window for login) just log in and than use that address.
UBetchYa said:
I have an AT&T Tilt. I had Direct Push from Exchange Server working perfectly with no effort - was working for months. Then, I had a hardware problem with that phone and was given a replacement from AT&T. After replacing it I am unable to configure the direct push any more. I wrote down all the settings and carefully reapplied them on the new phone.
What I am seeing now is when manually invoking a send/receive, ActiveSync reports the following:
------
Result:
The server you are synchronizing with is not an Exchange Server, or is running incompatible
software. Choose Configure Server on the ActiveSync menu to specify the correct server.
Support Code: 0x85030022
------
I've been on the line with the hosted exchange server folks and there's no change on their end...
I installed the certificate as suggested above - seemed like it was worth a shot. No difference.
Any ideas?
Click to expand...
Click to collapse
I got it working. The error message was pretty close to telling me that it's an invalid server "name". My hosted exchange provider uses owa3.... I was missing the all-important 3.
No matter how hard they try, programmers can't make it completely idiot proof...
All is working now beautifully. Thanks much for the suggestsions.
Tytn II
Hi there,
I'm trying to connnect my Tytn II to my work's exchange server so I can use it instead of having to use a Crackberry however I'm getting the following message in ActiveSync:
Support code # 0x85030022
The server you are synchronizing with is not an exchange sever, or is running incompatible software. Choose Configure Server on the ActiveSync menu to specify the correct server.
Can anyone help ?
Hi Smooth,
Have you tried all the steps in this thread already? make sure you have installed the correct certificate, have the correct server address and ask your administrator if activesync is enabled on the exchange server. post back with your results to the tricks in this thread and we'll see what else you can try.

Exchange problem with FRF91

Good morning everybody,
i updated my Nexus One 2 days ago from 85B to 91.
Since the update my phone cannot connect to my exchange server :-(
Does anybody know something about this problem?
Thx for your answers
I have the same problem. :-(
Sent from my Nexus One using XDA App
Sorry, no problems here with FRF91 and Exchange...
best,
das_spektakel
i have the same problem.
after the update my exchange setup had gone.
resetting it backup just comes up with "unable to open connection to server"
if i untick accept all SSL certificates i get "unable to open connection to server due to security error." so it must be communicating, and ticking that accept all ssl should then mean it passes?
exchange: 2007 SP1 standard on Win2003 standard x64 sp2.
OK i think i have it.
i changed our exchange certificate on the server to a SAN certificate. (subject alternative name).
my explanation won't be the best, but it certifies the servers different DNS names. such as its internal name, external name (eg. internal.company.local, externalmail.company.com.au)
Maybe with this update it broke the 'accept all ssl' which is suppose to let it communicate if the ssl cert comes back with the rong name, or expired.
if you have access to the exchange server you are trying to setup then give this a burl.
..ok i can't post a url. so if you want to give it ago shoot me an email and ill link you up and give you a hand if need be.
let me know if this helps any of you!?
Mick
any way around this other than swapping out certificates? i don't have access to do that at my company and i doubt they'll do that just because one phone has an issue...

Categories

Resources