Exchange 2010 EMC and Certificates Management

  • Upload
    hac

  • View
    227

  • Download
    0

Embed Size (px)

Citation preview

  • 8/2/2019 Exchange 2010 EMC and Certificates Management

    1/14

    Exchange 2010 EMC and Certificates

    Management Part 1

    Microsoft chose moving to secure messaging and secure service access since Exchange Server2007. The only troublesome task for administrators was to manage these certificates. Folks who

    are highly addicted to GUI found it little hectic. Good news for those who dont want to take toomany efforts and would like to have a graphical interface that can manage certificates for

    exchange!

    Though not with exchange 2007, Exchange 2010 Beta offers some extended functionality of

    creating, removing and managing certificates using GUI.

    To create a new certificate you can choose the following options;

    1. Select Server Configuration from left hand side pane in EMC and Exchange Certificates tab inleft hand pane.

    2. Right click in free space in left hand side pane of Exchange Certificates tab and select New

    Exchange Certificate

    http://milindn.files.wordpress.com/2009/06/image2.png
  • 8/2/2019 Exchange 2010 EMC and Certificates Management

    2/14

    3. Selecting New Exchange Certificate from the context menu will bring up the introduction

    screen.

    http://milindn.files.wordpress.com/2009/06/image3.png
  • 8/2/2019 Exchange 2010 EMC and Certificates Management

    3/14

    Here at this screen you are prompted to enter a friendly name for the certificate that will appearin EMC as a primary reference for management of certificates if you have multiple certificatescreated for multiple websites.

    4. Once you have specified a friendly name for the certificate you are taken to the next screenupon clicking the Next button. This New Exchange Certificate screen will now gather the actual

    required information where you get a chance to choose among the options to use this certificate

    for various services.

    Services like IIS based web services including Autodiscover, OWA EAS and other services like

    POP/IMAP, Outlook Anywhere and UM.

    You can observe the screenshot below and notice that you get an option to write the URL of the

    service locations for OWA, EAS, Federated Services, SMTP transport, Etc. These URLs will beused in the certificate request which will be further used to write the SAN certificate information.

    http://milindn.files.wordpress.com/2009/06/image4.png
  • 8/2/2019 Exchange 2010 EMC and Certificates Management

    4/14

    5. here the wizard collects the Organization related information like company name, department,location, etc. At this stage the wizard has collected almost all the information it needed. You maynotice that the path right beside the Browse button is the path to the certificate request file path.

    http://milindn.files.wordpress.com/2009/06/image5.png
  • 8/2/2019 Exchange 2010 EMC and Certificates Management

    5/14

    6. Next screen summarizes the information you entered.

    http://milindn.files.wordpress.com/2009/06/image6.png
  • 8/2/2019 Exchange 2010 EMC and Certificates Management

    6/14

    7. And there you go with the final screen of the wizard where it displays the powershellcommand it will be attempting to generate the certificate request. Once you hit the Finish buttonthe wizard completes the certificate request.

    http://milindn.files.wordpress.com/2009/06/image7.png
  • 8/2/2019 Exchange 2010 EMC and Certificates Management

    7/14

    8. Here a point to be noted is; the wizard does not create an actual certificate. It will simplygenerate the request and keep it accessible via EMC. So when you are done with the wizard youhave to manually send this request to the online CA within your Exchange/AD premises.

    http://milindn.files.wordpress.com/2009/06/image8.png
  • 8/2/2019 Exchange 2010 EMC and Certificates Management

    8/14

    Limitations of New Exchange Certificate Wizard:

    1. The new Exchange Certificate Wizard does not send the request to the online CA directlyunless you manually complete the pending request.

    2. Renewals of expired certificates can not be done using Exchange Certificate Wizard. Youstill have to user EMS for renewal of certificates.

    3. New certificates created using New Exchange Certificate Wizard does not get assigned toIIS directly though you do specify the certificate utilization for Exchange Web Services

    and other IIS integrated exchange services. (You may referPermanent Link to How torenew a self signed certificate in Exchange Server 2007for renewal of certificates)

    Exchange 2010 EMC and Certificates

    Management Part 2

    This is the second part of the blog entryExchange 2010 EMC and Certificate Management Part

    1in the previous post I wrote about creating a certificate request and the limitations of the new

    certificate request wizard. In this part we will be looking at obtaining a new certificate and then

    installing it on the server.

    To complete installing a new certificate on your Exchange Server 2010 server you first need to

    obtain a certificate from CA within your organization or from a third party CA. As stated in last

    post the New certificate wizard generates a request in a .req file.

    1. To obtain a certificate from a third party CA or your internal CA, your first need to copy the

    contents of the .req file and paste it to the web console of your certification authority. For my

    http://www.msexchangegeek.com/?p=77http://www.msexchangegeek.com/?p=77http://www.msexchangegeek.com/?p=77http://www.msexchangegeek.com/?p=77http://msexchangegeek.com/2009/05/13/exchange-2010-emc-and-certificates-management-part-1/http://msexchangegeek.com/2009/05/13/exchange-2010-emc-and-certificates-management-part-1/http://msexchangegeek.com/2009/05/13/exchange-2010-emc-and-certificates-management-part-1/http://msexchangegeek.com/2009/05/13/exchange-2010-emc-and-certificates-management-part-1/http://msexchangegeek.com/2009/05/13/exchange-2010-emc-and-certificates-management-part-1/http://msexchangegeek.com/2009/05/13/exchange-2010-emc-and-certificates-management-part-1/http://milindn.files.wordpress.com/2009/06/image9.pnghttp://msexchangegeek.com/2009/05/13/exchange-2010-emc-and-certificates-management-part-1/http://msexchangegeek.com/2009/05/13/exchange-2010-emc-and-certificates-management-part-1/http://www.msexchangegeek.com/?p=77http://www.msexchangegeek.com/?p=77
  • 8/2/2019 Exchange 2010 EMC and Certificates Management

    9/14

    internal Enterprise CA the picture looked like below. Please see carefully that the Certificate

    Template used for this certificate request is Web Server.

    2. Once you are done with above interface by pasting the contents of .req file and choosing acorrect template you will be presented with another page in your browser to download the

    certificate. This interface may vary depending upon the configuration of your CA. You may need

    to wait till the certificate is approved and issued by CA administrator if configured so. You can

    now download the certificate in DER encoded format or Base 64 encoded format and save it tosome location on your desktop or server. You will also need to download the whole certificate

    chain if the issuing authority is not a trusted CA by your server.

    3. Now, as you have downloaded the certificate to the server. You will need to complete thepending certificate request in your EMC. Select the complete pending request by right clicking

    on the pending certificate request in EMC.

    http://milindn.files.wordpress.com/2009/06/image15.pnghttp://milindn.files.wordpress.com/2009/06/image14.pnghttp://milindn.files.wordpress.com/2009/06/image15.pnghttp://milindn.files.wordpress.com/2009/06/image14.png
  • 8/2/2019 Exchange 2010 EMC and Certificates Management

    10/14

    4. A new interface asking you the path to the certificate will pop up. This wizards will ask the

    location for newly downloaded certificate. Click on the Browse button, select the newly

    downloaded .cer file and click on complete button.

    5. You may recall, Exchange 2007 to have the imported certificate to be enabled before it can be

    used actually used exchange services. E14 is not an exception to it but you dont need to use

    Enable-ExchangeCertificate this time. You can do it using GUI easily. Now that you know, you

    http://milindn.files.wordpress.com/2009/06/image17.pnghttp://milindn.files.wordpress.com/2009/06/image16.pnghttp://milindn.files.wordpress.com/2009/06/image17.pnghttp://milindn.files.wordpress.com/2009/06/image16.png
  • 8/2/2019 Exchange 2010 EMC and Certificates Management

    11/14

    have a new certificate imported correctly. You need to assign it to the services those will be

    using it.

    Again, locate the new imported certificate in EMC and right click on it. Select Assign Services

    to Certificate from the context menu.

    One quick difference you may notice between the step 3 and now. That is the certificate status. Itchanges from Pending to Valid and icon in front of the certificate gets blue colored check mark

    on it.

    6. Assign Services to Certificate will list the services on a window those will be assigned touse this certificate. Select the services you want to use this certificate with and click on Assignbutton. In my case I did not have the UM role installed on the server so the Unified Messaging

    check box is grayed out.

    http://milindn.files.wordpress.com/2009/06/image18.png
  • 8/2/2019 Exchange 2010 EMC and Certificates Management

    12/14

    7. You may notice a pop up asking your consent to assign this certificate to SMTP service on theserver as the default certificate will be replaced if you have selected Simple Mail TransportProtocol to use the new certificate in step 6. Click Yes and your default self signed certificate

    created and assigned to SMTP during server install will be replaced with new one.

    Click Finish in the wizard and you are done.

    http://milindn.files.wordpress.com/2009/06/image20.pnghttp://milindn.files.wordpress.com/2009/06/image19.pnghttp://milindn.files.wordpress.com/2009/06/image20.pnghttp://milindn.files.wordpress.com/2009/06/image19.png
  • 8/2/2019 Exchange 2010 EMC and Certificates Management

    13/14

    In some cases you may end up with a warning message; warning you that this certificate will not

    be used for TLS connections. Something like below:

    Here you need to really understand the configurations you choose at the time ofnew certificate

    request. If you want to use this new certificate for a connector which provides a TLSconnections, you will have to mention that during the New Certificate Request Wizard.

    Few things to note:

    You must make sure that you have chosen the option to use new certificate for TLSconnections during the request generation.

    You must have the root CA and the entire certificate chain installed your ExchangeServer as well as clients if you are using your internal CA for new request processing.Outlook as well as Outlook Anywhere and other web based services may be affectedotherwise.

    You must back up the certificate as soon as it is enabled on the server. I will write aboutit in Part-3 of this series.

    I recommend backing up and removing any old certificate from the server as soon as thenew certificate is active and fully functional.

    http://milindn.files.wordpress.com/2009/06/image5.pnghttp://milindn.files.wordpress.com/2009/06/image5.pnghttp://milindn.files.wordpress.com/2009/06/image5.pnghttp://milindn.files.wordpress.com/2009/06/image5.pnghttp://milindn.files.wordpress.com/2009/06/image21.pnghttp://milindn.files.wordpress.com/2009/06/image5.pnghttp://milindn.files.wordpress.com/2009/06/image5.png
  • 8/2/2019 Exchange 2010 EMC and Certificates Management

    14/14