Exchange Server TechCenter > Exchange Server Forums > Mobility > How to configure certificate authentication on mobile device with IIS7?
Ask a questionAsk a question
 

AnswerHow to configure certificate authentication on mobile device with IIS7?

  • Monday, November 02, 2009 8:42 AMGhosC Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    we have CAS server in windows 2008 and mailbox server on windows 2003. Previous we run cas server on windows 2003 and all works fine. now I try to setup IIS7 for certificate authentication, but without success. we setup spn's, trust delegations, on IIS7 enable AD client certificate authentication, request client certificate for /Microsoft-Server-ActiveSync and enable windows authentication. but this not working. can anyone point to article how to configure IIS7 certificate authentication?

    thanks.

Answers

  • Tuesday, November 03, 2009 3:25 AMJames-LuoMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Please refer the resources below to configure the CBA for exchange ActiveSync:

    How to Configure Certificate-Based Authentication for Exchange ActiveSync

    Configuring ActiveSync authentication in Exchange Server 2007

    Have you restarted the IIS Services?

    Per my knowledge, after configured CBA, users will be authenticated by using client certificate without other authentication methods like Basic, Digest, or Integrated windows authentication. So, please clear the Integrated windows authentication checkbox

    However, it do require “Client Certificate Mapping Authentication” on the CAS server, please enable it on the IIS (Reference)

    appcmd set config "Default Web Site/Microsoft-Server-ActiveSync" -section:clientCertificateMappingAuthentication /enabled:true

    IISreset /noforce

    You can also refer this article on the exchange team blog to set the “Client Certificate Mapping Authentication”

    • Marked As Answer byGhosC Wednesday, November 11, 2009 1:31 PM
    •  

All Replies

  • Tuesday, November 03, 2009 3:25 AMJames-LuoMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Please refer the resources below to configure the CBA for exchange ActiveSync:

    How to Configure Certificate-Based Authentication for Exchange ActiveSync

    Configuring ActiveSync authentication in Exchange Server 2007

    Have you restarted the IIS Services?

    Per my knowledge, after configured CBA, users will be authenticated by using client certificate without other authentication methods like Basic, Digest, or Integrated windows authentication. So, please clear the Integrated windows authentication checkbox

    However, it do require “Client Certificate Mapping Authentication” on the CAS server, please enable it on the IIS (Reference)

    appcmd set config "Default Web Site/Microsoft-Server-ActiveSync" -section:clientCertificateMappingAuthentication /enabled:true

    IISreset /noforce

    You can also refer this article on the exchange team blog to set the “Client Certificate Mapping Authentication”

    • Marked As Answer byGhosC Wednesday, November 11, 2009 1:31 PM
    •  
  • Thursday, November 05, 2009 4:33 AMJames-LuoMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Any update?

  • Thursday, November 05, 2009 9:32 AMGhosC Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks for response

    I turn off windows authentication. all other settigs are already setup - nothing changes.

    maybe there is proble with spn's? now i setup as is on windows 2003 server:

    w3svc/servername.domain
    w3svc/servername
    http/servername.domain
    http/servername
    host/servername.domain
    host/servername

    delegate to:
    host:MailboxServer
    host:MailboxServer.domain
    http:mailboxserver
    http:mailboxserver.domain
  • Thursday, November 05, 2009 10:15 AMJames-LuoMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Please update the results after the SPN modification. So, client mapping authentication has already enabled


    James Luo
    TechNet Subscriber Support (http://technet.microsoft.com/en-us/subscriptions/ms788697.aspx)
    If you have any feedback on our support, please contact tngfb@microsoft.com
  • Tuesday, November 10, 2009 2:34 AMJames-LuoMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    How's the issue?
    James Luo
    TechNet Subscriber Support (http://technet.microsoft.com/en-us/subscriptions/ms788697.aspx)
    If you have any feedback on our support, please contact tngfb@microsoft.com
  • Wednesday, November 11, 2009 1:31 PMGhosC Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    There was 2 things: . missing CA certificate in NTAuth store and something broken in CAS installation. 
    I reinstall CAS role, configure Server active sync as You pointed me and all works now!
    Thanks.
  • Thursday, November 12, 2009 1:01 AMJames-LuoMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Cool! Glad to help
    James Luo
    TechNet Subscriber Support (http://technet.microsoft.com/en-us/subscriptions/ms788697.aspx)
    If you have any feedback on our support, please contact tngfb@microsoft.com