Mark Mulvany MC... 的个人资料SWIFTTRAIN & SBSLIVE照片日志列表 工具 帮助

日志


8月31日

Windows Mobile SBS Cert Rollercoaster

The SBS Cert rollercoaster

How to Deploy Windows Mobile 5 with SBS Self-Signed Certificates)

 

Choosing the right Device

Those of us who have looked into  this particular email on the move  solution realise a lot of focus is placed on the  need to choose the right mobile device  whether  it's a Smartphone  like the 3G (UMTS) HTC MTeoR or a PDA style handset like the Palm Treo 750V or even a hybrid unit like the Blackjack. Thankfully there are so many different types of units available that there is bound to be a Windows mobile device / form factor to suit you or your customer. If you can edit a word document on your phone your are using a device with the Pocket PC version of  Windows Mobile  otherwise it's probably running the Smartphone version of the operating system, so for example the Blackjack looks more like a PDA however it's running the Smartphone version of the Windows Mobile  5

 

<SCREEENSHOT 1>

 

 

Push mail

The email being pushed to the mobile device without user intervention is also seen as a crucial piece of the puzzle , which requires the selected mobile device(s) to be running  Windows Mobile 5 with the Messaging and Security Feature Pack  ( MSFP ) update applied, also referred to as AKU2 by most device manufacturers, basically in plain English  the push update to us humans.

 

Some devices unfortunately including some early Windows Mobile 5 Devices cannot be upgraded to this Feature Pack which will stop you in your tracks if your customer wants the email to be pushed automatically onto the device, you still will be able to deploy the device however the user will have to manually sync their email / calendar by selecting the  Activesync  icon on the mobile device and choosing "SYNC". Also you will miss out on the ability to remote wipe the mobile device should it get stolen or lost.

 

Unfortunately the Certificate question is often left to last even though both the security of your solution and the time you are going to spend on the deployment often depends on selecting the right approach.

 

 

3rd Party Certificate

In some cases a 3rd party certificate from someone like Thwate or especially Godaddy for SBS given it's relatively low cost will make sense particularly if there is a large number of mobile devices to be deployed  and you would prefer not to have to manually install your certificate  onto each device only needing to install the  3rd party certificate onto the  Server. If you want to us a 3rd party certificate make sure you choose a  Secure Sockets Layer (SSL) certificate  from trusted root certification authorities that have a root store presence in Windows Mobile devices otherwise you will end up installing it onto your mobile devices just like you have to with the SBS self-signed certificate.

 

The Microsoft Partner site provides a good list of 3rd Party Certificates compatible with Windows Mobile Powered Devices <https://partner.microsoft.com/global/partner/40027352>

 

<SCREEENSHOT 2>

 

 

 

However if there is a smaller number of devices you may prefer to go it alone and use an SBS Self-Signed Certificate generated by SBS itself. Firstly be careful when selecting your mobile devices  as some non Windows Mobile 5 devices like the Nokia E62 which uses a licensed  cut down Activesync implementation to connect are almost impossible to get working with SBS self-signed certs, details here from the Official SBS Blog  <http://tinyurl.com/create.php> also watch out for Smartphone devices as in general these devices are often restricted particularly in relation to the Certificate  Store making it more difficult but not impossible to get your SBS self-signed certificate onto the device.

 

 As a general rule it is much easier to install the self-signed certificate onto a Pocked PC Windows Mobile Device like a HTC TyTn or a Palm Treo 650V whereas most mobile devices running Smartphone Windows Mobile 5 are restricted in some way, which will tackle in this article.

 

 How to tell,  if your device can edit word then it's a Pocket PC device however  when purchasing you should evaluate all devices against your own in house SBS network, so you can make an informed decision one way or the other.

 

Self-Signed Cert Invalid Certificate  Problem

Okay so we are going to use the self-signed certs and you have run the Configure Internet and Email Wizard (CIEW) to generate the certificate.

Full details are here "Deploying Windows Mobile 5.0 with Windows Small Business Server 2003" <http://www.microsoft.com/technet/prodtechnol/sbs/2003/deploy/winm5.mspx.

 

Most importantly when running the CIEW wizard from the To Do List on Server Management make sure you use the actual host name or IP address you will connecting  to from outside the network (usually the same as your Outlook Web Access host name ) as the Web Server Name with the http://   for the certificate , this is a deal breaker get it wrong and your mobile device will not sync.

When the wizard finishes CIEW will have created a certificate file calledSBSCERT.CER  and place it in a folder usually "C:\Clientapps\Sbscert" for most installations, alternatively if ISA is deployed on SBS the cert file will be called ISACERT.CER.

 

 

 

The Microsoft Documentation (referenced  above )  will ask you to drop this file onto your Windows Mobile Device using Activesync 4.1 or later, basically within the Activesync Explorer right click and copy the .CER file and then place in the mobile device's "My Documents" folder or alternatively you could copy the file onto an SD  / mini SD memory card and insert the card into the mobile device.

 

Once you have the file on the mobile device you browse to the file on the device and select the certificate and  "Hey Presto" it should install the certificate into the device's own certificate root store.

 

Unfortunately in most cases when you select  the certificate file  you will get the following error message "Invalid Certificate".

 

  You can normally get past this issue if you follow the steps below.

 

<SCREEENSHOT 3>

 

 

 

1.      Open a browser on your pc / laptop with Activesync 4.1 or higher installed  with the mobile device attached via USB

 

2.    Browse to Outlook Web Access and choose to view and then install the certificate, accepting the defaults as you go, this assumes you have not already installed the certificate.

 

3.    Once you have the Certificate installed on your pc click START  then RUN "certmgr.msc" and browse to Trusted root authorities and choose the cert you just imported.

 

4.    Right click and choose export and accept the defaults and save out as "SBSC.CER", if the phone is not locked you should be able to drop the cert onto the mobile device using Activesync as described above and then install it from the mobile device using file explorer without an error.

 

If you get an error at this stage it is normally a security related error because the device usually a Smartphone Windows Mobile has a protected Certificate store, the error message may read something like "Security Permission was insufficient to update your device" normally this can be bypassed by editing the registry but as always you need to be careful if you are going to edit the registry particularly on a mobile device and now's  probably a good time to revaluate that 3rd party certificate option :-)

 

Ok so you want to continue, having done this dozens of times myself it never caused any issues with any mobile device however the standard warning about editing the registry still applies, basically be careful and your on your own if you mess up.

 

 

<SCREEENSHOT 4>

 

 

 

Unlocking a Smartphone's certificate store

 

Firstly you need to get your hands on regeditstg.exe there is different versions available however I have provided a pretty generic version here http://markmulvany.fastmail.fm/RegEditSTG2.zip  which works with most HTC derived Smartphone devices like the iMate series Sp5 and Sp5m and earlier.

 

1.      Unzip the Regedit2.zip file onto your desktop or other location on your pc attached to the mobile device.

 

2.      In most cases the Regedit.exe program will not be correctly signed for your mobile device so you will not be able to drag and drop it onto the device using Activesync however you can put the file on an SD (mini SD) using the adaptor that came with the storage card for the device first on your pc and then transferring it to the Smartphone.

 

3.      Once you have the file on the mobile device then simply click on it from the file explorer and the Smartphone registry editor will open.

 

4.      Navigate to  HKEY_LOCAL_MACHINE\Security\Policies\Policies

Then change the following values to:

 

 

 HKEY_LOCAL_MACHINE\Security\Policies\Policies\00001001 = 1

 

HKEY_LOCAL_MACHINE\Security\Policies\Policies\00001005 = 40

HKEY_LOCAL_MACHINE\Security\Policies\Policies\00001017 = 144

 

5.      Restart the mobile device and you should now have no problems adding your SBS Self-signed certificate onto your device.

 

6.      To verify that the certificate has been correctly installed, on your mobile device / Smartphone simply click Start, Settings, Security, Certificates, Root,0 (for more) and you should then be able to see your SBS certificate.

 

7.      You should now be either configure Activesync for the mobile device either on the handset itself or better still following the wizard on your desktop Activesync 4.1 or later.

 

Basically putting in the user name and password and the external name for the server as per the Microsoft Deployment document mentioned earlier.

 

 

 

 

Further information links

 

 

 Microsoft Whitepaper "Deploying Windows Mobile 5.0 with Windows Small Business Server 2003" <http://www.microsoft.com/technet/prodtechnol/sbs/2003/deploy/winm5.mspx>

 

 3G (UMTS) HTC MTeoR <http://www.europe.htc.com/products/htcmteor.html>

 

 Microsoft Information on Messaging and Security Feature Pack for Windows Mobile 5 http://www.microsoft.com/windowsmobile/business/directpushemail.mspx

 

Smartphone mobile editor available from here http://markmulvany.fastmail.fm/RegEditSTG2.zip

 

Bio

Mark Mulvany works closely with Microsoft in Ireland and it’s partners as an external IT Consultant helping to increase partner skills around Small Business Server, Exchange Messaging, Active directory and Mobility.

When not teaching or presenting technical briefings, Mark designs and implements networks as an independent network advisor.

Mark Mulvany MCT, MCSE, MCSE+I, MLSS, CNA, INET+

  

评论 (3)

请稍候...
很抱歉,您输入的评论太长。请缩短您的评论。
您没有输入任何内容,请重试。
很抱歉,我们当前无法添加您的评论。请稍后重试。
若要添加评论,需要您的家长授予您相应权限。请求权限
您的家长禁用了评论功能。
很抱歉,我们当前无法删除您的评论。请稍后重试。
您已超过了一天之内允许提供的评论数上限。请在 24 小时后重试。
因为我们的系统表明您可能在向其他用户提供垃圾评论,您的帐户已禁用了评论功能。如果您认为我们错误地禁用了您的帐户,请联系 Windows Live 支持部门
完成下面的安全检查,您提供评论的过程才能完成。
您在安全检查中键入的字符必须与图片或音频中的字符一致。

若要添加评论,请使用您的 Windows Live ID 登录(如果您使用过 Hotmail、Messenger 或 Xbox LIVE,您就拥有 Windows Live ID)。登录


还没有 Windows Live ID 吗?请注册

没有名字发表:
http://www.batteryfast.co.uk/gateway/s62044l.htm gateway s62044l battery ,
http://www.batteryfast.co.uk/gateway/m320.htm gateway m320 battery ,
http://www.batteryfast.co.uk/gateway/m325.htm gateway m325 battery ,
http://www.batteryfast.co.uk/gateway/4000.htm gateway 4000 battery ,
http://www.batteryfast.co.uk/gateway/s62066l.htm gateway s62066l battery ,
http://www.batteryfast.co.uk/gateway/m680.htm gateway m680 battery ,
http://www.batteryfast.co.uk/gateway/m360.htm gateway m360 battery ,
http://www.batteryfast.co.uk/gateway/m460.htm gateway m460 battery ,
http://www.batteryfast.co.uk/hp/hstnn-db11.htm hp hstnn-db11 battery ,
http://www.batteryfast.co.uk/hp/nc8230.htm hp nc8230 battery ,
http://www.batteryfast.co.uk/hp/nc8200.htm hp nc8200 battery ,
http://www.batteryfast.co.uk/hp/nw8200.htm hp nw8200 battery ,
http://www.batteryfast.co.uk/hp/nx8200.htm hp nx8200 battery ,
http://www.batteryfast.co.uk/hp/nc8430.htm hp nc8430 battery ,
http://www.batteryfast.co.uk/hp/pb992a.htm hp pb992a battery ,
http://www.batteryfast.co.uk/hp/nx7000.htm hp nx7000 battery ,
http://www.batteryfast.co.uk/hp/presario-x1000.htm hp presario x1000 battery ,
http://www.batteryfast.co.uk/hp/presario-x1100.htm hp presario x1100 battery ,
http://www.batteryfast.co.uk/hp/presario-x1200.htm hp presario x1200 battery ,
http://www.batteryfast.co.uk/hp/presario-x1300.htm hp presario x1300 battery ,
http://www.batteryfast.co.uk/hp/presario-x1400.htm hp presario x1400 battery ,
http://www.batteryfast.co.uk/hp/dv2000.htm hp dv2000 battery ,
http://www.batteryfast.co.uk/hp/dv2100.htm hp dv2100 battery ,
http://www.batteryfast.co.uk/hp/dv2200.htm hp dv2200 battery ,
http://www.batteryfast.co.uk/hp/dv6000.htm hp dv6000 battery ,
http://www.batteryfast.co.uk/hp/dv9000.htm hp dv9000 battery ,
http://www.batteryfast.co.uk/hp/dv9200.htm hp dv9200 battery ,
http://www.batteryfast.co.uk/hp/dv9100.htm hp dv9100 battery ,
http://www.batteryfast.co.uk/hp/dv9500.htm hp dv9500 battery ,
http://www.batteryfast.co.uk/hp/dv9600.htm hp dv9600 battery ,
http://www.batteryfast.co.uk/hp/dv9700.htm hp dv9700 battery ,
http://www.batteryfast.co.uk/hp/hstnn-ib44.htm hp hstnn-ib44 battery ,
http://www.batteryfast.co.uk/hp/510.htm hp 510 battery ,
http://www.batteryfast.co.uk/hp/530.htm hp 530 battery ,
http://www.batteryfast.co.uk/hp/HSTNN-FB40.htm hp HSTNN-FB40 battery ,
http://www.batteryfast.co.uk/hp/hstnn-c29c.htm hp hstnn-c29c battery ,
http://www.batteryfast.co.uk/hp/520.htm hp 520 battery ,
http://www.batteryfast.co.uk/hp/500.htm hp 500 battery ,
http://www.batteryfast.co.uk/hp/dv8000.htm hp dv8000 battery ,
http://www.batteryfast.co.uk/hp/dv8100.htm hp dv8100 battery ,
http://www.batteryfast.co.uk/hp/dv8200.htm hp dv8200 battery ,
http://www.batteryfast.co.uk/hp/dv8300.htm hp dv8300 battery ,
http://www.batteryfast.co.uk/hp/m2000.htm hp m2000 battery ,
http://www.batteryfast.co.uk/hp/dv1000.htm hp dv1000 battery ,

3 月 20 日
没有名字发表:

Hi,Do you have second hand lcds, used laptop lcds and used LCD displays? Please go here:www.sstar-hk.com(Southern Stars).We are constantly buying re-usable LCD panels.We recycled LCDs.The re-usable panels go through strictly designed process of categorizing, checking, testing, repairing and refurbishing before they are re-used to make remanufactured LCD displays and TV sets.Due to our recent breakthrough in testing and repairing technology of LCD, we can improve the value for your LCD panels. website:www.sstar-hk.com[bfgdaggcgbjjj]

9 月 23 日
David发表:
Hi Mark,
There was a very good document on how to add a Godaddy certificate to a SBS Premium server running ISA 2004.
It can be found here:
I have used it myself without no real issues. The one big benefit with having the 3rd party certificate is that if you reset a phone you do not have to reinstall the certificate, and most WM5 and WM6 devices trust teh GoDaddy Certificate servers, and for $20 per year relatively cheap compareed to other certificate companies.
Kind regards,
David 
9 月 5 日

引用通告 (9)