Requesting and Installing a GoDaddy.com UCC Certificate in Exchange 2007

Exchange 2007 Requires a UCC certificate in order for the various services within exchange to work properly. Exchange likes to see an SSL certificate for each of it’s services, internal and external so in order to cover all bases I typically create a certificate with the following Subject Alternative Names (SANs) (assuming that the server’s name is “mailserver” the external company name is “company.com” and the internal Active Directory name is “company.local”):

  • Public FQDN of the Server (mail.company.com)
  • Private FQDN of the Server (Mailserver.company.local)
  • Netbios name of the server (mailserver)
  • autodiscover.company.com
  • for the last SAN feel free to use WWW, or anything else so that you can use this expensive certificate on your IIS servers as well

Godaddy.com allows you to create a UCC certificate with a Domain name, and up to 4 additional SANs, for a total of 5 FQDNs per certificate.

The first thing you’ll need to do is to log into your godaddy.com account, purchase a UCC certificate and the start the wizard to configuring it. When it asks you for your CSR you’ll need to follow these instructions on your exchange server in order to create one:

  1. Open the Exchange Management Shell.
  2. The first thing I do is run the following command to get a handle of what certificates are currently installed: Dir cert:\LocalMachine\MY | fl
  3. To Generate a new CSR you’ll need to enter the following command:” New-ExchangeCertificate -generaterequest -keysize 2048 -subjectname "c=COUNTRY, l=CITYNAME, s=STATENAME, o=COMPANY NAME,cn=FIRST FQDN" -domainname SAN1, SAN2, SAN3, SAN4 -PrivateKeyExportable $true -path c:\certrequest.txt ”  You’ll have to fill in the BOLD sections with your own information and the SANs that we created above.
  4. Once You’ve run the command, copy the contents of C:\certrequest.txt into the Godaddy.com CSR request field and continue the wizard.
  5. The wizard will complete, and eventually you’ll get an email from Go Daddy that your request is completed and you can download the certificate. Download the zip file to you exchange server and extract it to a folder. The zip file will contain two Certificates, an intermediates.p7b file and your FQDN.crt file.
  6. You’ll have to follow these instructions from Go Daddy to install their Intermediate certificate and disable their older Class 2 Root Certificate, I’ve included these instructions verbatim here, but you’ll probably want to follow the most recent set of instructions from them when you download the certificate.
  7. Once the Intermediate is installed, and the Class 2 Root Certificate is disabled, you can install the new certificate on the Exchange server by moving the .crt file to c:\ and typing the following in the Exchange Shell:” Import-ExchangeCertificate –path c:\FQDN.crt ” You’ll need to change the name of the .crt file to match that of the one you were sent.
  8. Type ” Dir cert:\LocalMachine\MY | fl “again and copy the thumbprint of the newly installed certificate.
  9. To enable the certificate type: ” Enable-ExchangeCertificate –Thumbprint XXXXXXXXXXXXXXXXXXXXX –services “iis,IMAP,POP” ” replace the Bolded X’s with the thumbprint you copied from step 8. IMAP and POP are optional, and I don’t typically configure SMTP with SSL either.

That’s it! You’re new SSL certificate is now installed.

3 thoughts on “Requesting and Installing a GoDaddy.com UCC Certificate in Exchange 2007

  1. Randy

    You mentioned “for the last SAN feel free to use WWW, or anything else so that you can use this expensive certificate on your IIS servers as well.” Isn’t the certificate only keyed for one server at a time?

    Also did you have any issues with GoDaddy approving the certificate with the .local entry on it?

    Thanks,
    Randy

    Reply
  2. Pingback: Renewing a 3rd Party SSL Certificate on SBS 2008 | The Day to Day Findings of an IT Engineer

Leave a Reply to Ngonie Cancel reply

Your email address will not be published. Required fields are marked *