Home > Configuring ActiveSync authentication in Exchange Server 2007
Tutorial:
EMAIL THIS

Configuring ActiveSync authentication in Exchange Server 2007

16 Apr 2009 | SearchExchange.com

Exchange Server tips, tutorials and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google

ActiveSync authentication is a process in which a mobile device and the Exchange 2007 Client Access Server confirm each other's identities. Confirmation takes place in different ways, depending on how ActiveSync has been configured. In this tip from Microsoft Exchange Server expert Brien Posey, you'll learn how to configure an ActiveSync authentication method and get information on two types of ActiveSync authentication available in Exchange 2007 SP1 -- basic and certificate-based authentication.

When you install the Client Access Server (CAS) role, Exchange Server creates different IIS virtual directories. Authentication is configured separately for each directory. To configure the ActiveSync authentication method, open the IIS Manager and navigate through the console tree to: <Your server> (Local Computer) -> Web Sites -> Default Web Site -> Microsoft Server ActiveSync (Figure 1).


Figure 1. Exchange creates different IIS virtual directories.

Right-click on the Microsoft Server ActiveSync virtual directory and choose Properties from the menu. This takes you to the virtual directory's properties sheet. Select the Directory Security tab and click on Edit in the Authentication and Access Control section. You will see the Authentication Methods dialog box (Figure 2).


Figure 2. Control ActiveSync authentication methods in the Authentication Methods dialog box.

Basic ActiveSync authentication

By default, Exchange is configured to use basic authentication for ActiveSync. This is the simplest authentication method, but it is suitable for most ActiveSync deployments.

Basic authentication is based on usernames and passwords. The Client Access Server prompts a user to enter a username and password. When the mobile device is initially configured for use with ActiveSync, a user's credentials are stored. ActiveSync won't work if you don't save the credentials on the mobile device. The mobile device then transmits these credentials to the CAS, which verifies the credentials and grants the user access to the virtual directory.

Basic authentication uses clear text when transmitting usernames and passwords. If basic authentication is used by itself, sending passwords in clear text would be a huge security risk.

Note: Microsoft recommends using SSL encryption in conjunction with basic authentication. While SSL encryption doesn't prevent passwords from being sent as clear text, it does encrypt the password while in transit.

ActiveSync certificate-based authentication

ActiveSync certificate-based authentication is similar to basic authentication, but instead uses a digital certificate to confirm a user's identity. Requiring certificate-based authentication prevents users who only have a username and password from using ActiveSync.

There are two types of certificates that must be issued to the mobile device for certificate-based authentication to work.

  • The device must have a trusted root certificate, which allows the mobile device to trust the CAS's certificate.

    The CAS uses a certificate, which must come from a certificate authority (CA), to enable SSL encryption. Some organizations use commercial CAs such as VeriSign or Thawte. Organizations can configure their own Windows server to act as an enterprise CA. The organization would then use that server to issue an X.509 certificate to the CAS.
    More on Exchange ActiveSync:
    Using ActiveSync without a front-end Exchange server

    Forms-based authentication errors with OMA and ActiveSync

    How to solve common ActiveSync error messages

  • An X.509 certificate can be used to facilitate SSL encryption.
  • Note: An X.509 certificate is a type of certificate that can be used to facilitate SSL encryption.

Regardless of where the X.509 certificate comes from, the client will not trust your CAS unless it trusts the certificate authority that issued the X.509 certificate. By installing a trusted root certificate from the CA onto the mobile device, the device will trust both the CA and the CAS.

About the author: Brien M. Posey, MCSE, is a five-time recipient of Microsoft's Most Valuable Professional (MVP) award for his work with Exchange Server, Windows Server, Internet Information Services (IIS), and File Systems and Storage. Brien has served as CIO for a nationwide chain of hospitals and was once responsible for the Department of Information Management at Fort Knox. As a freelance technical writer, Brien has written for Microsoft, TechTarget, CNET, ZDNet, MSD2D, Relevant Technologies and other technology companies. You can visit Brien's personal website at www.brienposey.com.

Do you have comments on this tip? Let us know.

Please let others know how useful this tip was via the rating scale below. Do you know a helpful Exchange Server, Microsoft Outlook or SharePoint tip, timesaver or workaround? Email the editors to talk about writing for SearchExchange.com.

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
Mobile Devices
Top 5 Exchange ActiveSync tips
Windows Mobile 6.5 touts Internet Explorer, OWA improvements
Windows Mobile 6.5 touts ActiveSync and Outlook Mobile improvements
What are your options for sending text messages from Outlook 2007?
Using Mobile Device Manager 2008 server roles in Exchange 2007
Understanding Exchange Server 2007 SP1 mobile security settings
Synchronized Exchange mobile device showing deleted appointment
Which ActiveSync authentication method is best for your mobile device?
Disable ActiveSync in bulk with Exchange Management Shell commands
Performing a remote wipe on ActiveSync devices in Exchange Server 2007

Microsoft Exchange Server 2007
How to install Forefront Security for Exchange Server
Displaying Exchange 2007 public folders in SharePoint
Don'ts for optimal Exchange 2007 mailbox server efficiency
Is your Exchange 2007 hub transport server healthy?
Top 5 Exchange ActiveSync tips
Two useful tools for documenting an Exchange Server installation
Controlling spam in Exchange 2007 at the edge transport server level
Restore Exchange storage groups with DPM 2007
How a hosted Exchange service can help you
Email issues after configuring hosted Exchange server on laptop
Microsoft Exchange Server 2007 Research

Exchange Server Administration Tips
Remove Exchange 2003 objects from AD to install Exchange 2010
Don'ts for optimal Exchange 2007 mailbox server efficiency
Is your Exchange 2007 hub transport server healthy?
Avoid Outlook 2007 performance issues during repairs
Developing an Exchange 2007 server role DR plan
How DSAccess service improves Exchange Server 2007 reliability
An introduction to the Exchange Remote Connectivity Analyzer tool
Monitor Exchange 2007 with disk- and RPC-related counters
DPM 2007 replica inconsistencies in Exchange databases
Track Exchange 2007 mailbox server health using database counters

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary




E-mail Administration Tips - Active Directory, Mail Protocols, MOM
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts