SeanDaniel.com
WHS, SBS and Related Technology - Tips, Tricks and News

Home | Technical Blog | Photo Blog | E-Mail Me

Wednesday, February 11, 2009

Installing a GoDaddy Standard SSL Certificate on SBS 2008

Many providers offer inexpensive SSL certificates for domain-only validation.  GoDaddy seems to be a popular choice given just how inexpensive the certificates are.  GoDaddy’s inexpensive cert is called Standard SSL certificate.

Before we dive in, let’s recap the certificate story in Windows Small Business Server 2008. There are two "types” of certificates and four “states” your certificate can be in.  Those are defined on TechNet in the Managing Certificates section of the SBS documentation.  The two types are “Self-Issued” or “Trusted”, and by default, SBS 2008 ships using a self-issued certificate infrastructure, which is used to authenticate the server to the client, and encrypt the traffic between the remote client and the server. The obvious downside here is there is extra work with the certificate installer package on your remote/non-domain joined clients, and Windows Mobile devices.  At some point there are enough of these to warrant the low cost to upgrade to a 3rd party Trusted certificate.  With a 3rd party trusted certificate, the client computers and mobile devices already trust the root of the 3rd party certificate, as these are maintained by Microsoft Update (and various other solutions for non-Microsoft based clients/devices).

As you probably read when you learned about the Internet Address Management Wizard, we have a number of domain name providers, eNomCentral, GoDaddy, and Register.com.  All three of these providers are very well equipped to sell you and facilitate installing a trusted certificate for your small business network, so feel free to shop around! 

I’ll be going through the steps for GoDaddy today as they are the only provider that requires intermediate certificates, which is a bit more challenging.  The process is the same for all the providers, except for eNomCentral and Register.com, you can skip the intermediate certificate steps, and naturally the UI would be different.  On a final note, I have not had luck with the GoDaddy certificate and Windows Mobile 5 (Update Below), if you have Windows Mobile 5 devices, you may want to consider one of the other partners, but the best thing to do here is open the certificate store on your WM5 device and validate the root cert for the provider you’re going with is available in the certificate store.

While Matt Williamson’s Installing GoDaddy SLL Certificates on IIS7 talks generically how to install the GoDaddy SSL certificates, it isn’t detailed enough for SBS 2008.  The steps below should provide detailed steps, specific for SBS 2008:

  1. In your Windows SBS Console on the server, navigate to the Network tab and the Connectivity sub-tab and launch the Add a Trusted Certificate connectivity task
  2. Click Next on the welcome screen and choose I want to buy a certificate from a certificate provider and click Next.
  3. Verify this information is correct.  This information will be encoded in the request to the certificate provider, and cannot be changed without buying a new certificate.  Additionally for some certificate requests this information could be used to contact you to validate the ownership of the domain name.  Then click Next.
  4. Once you get to the screen below, you are now going to deal with only the certificate provider, with the encoded certificate request shown in the gray box.  Since most providers have you paste this into a web browser, you should click the Copy button to place this into your clipboard. image
    1. IMPORTANT: It’s important not to click back or next-back on this page, as it will re-generate a new encoded string, which will not match the request you make to your cert provider.
  5. Once the encoded string is copied safely (I paste it into Notepad so I don’t loose it during the process) Let’s close the Trusted Certificate wizard for now to get it out of the way and prevent errors now that we have that encoded text in the clipboard (and hopefully in Notepad).  Let’s click Next and then select My certificate provider needs more time to process the request, and click Next again, the wizard will show a warning that it could not import the certificate into Remote Web Workplace.
    1. You will also notice after you click Finish, that the console now shows Request Submitted and you have an option to Remove this Certificate, which we don’t want to do unless we want to go back to the beginning.
  6. At this point, go to your providers website and follow the instructions for purchasing a certificate.  The provider will most likely ask you to purchase the certificate before they collect the certificate information (encoded text above) from you. Notes:
    1. The provider may try to sell you other services, feel free to browse, but the server doesn’t require additional services
    2. The server does not require a wildcard certificate, port numbers (such as 987) are used to save you the cost of purchasing a wildcard certificate
    3. You should get a confirmation email with instructions on how to install the certificate.  My particular email has this section in it, stating to log into the website to obtain my cert: image
  7. Once I log into my account, It’s abundantly clear that I have a certificate set up waiting for me: image
  8. I log in to my account using the ID and choose to use your certificate credit image
  9. Next you will want to go to the Manage Certificate Control Panel: image
  10. In the control panel, select your certificate credit and click Request Certificate image
  11. Now you are prompted to insert the CSR, or Certificate Signing Request, which is all of the information you copied out of the trusted certificate wizard (and put into Notepad right?)
    1. IMPORTANT: Make sure you select the server software to be Microsoft IIS.
    2. Note: the actual domain name you are requesting for is encoded in the string from within the Trusted Certificate wizard
  12. Validate the information in the cert is correct, once you confirm it, it’ll cost more money to do this over again, and then click Confirm.
  13. Once you confirm, an email gets sent to the email account on file for that domain name, once you get that email, there is a verification link inside that email that needs to be clicked.  Click it and approve the request, some more email will come into that account you just checked.  One to tell you that it was approved, and one to give you the link to go and get the encoded text.
    1. One thing to note here is there are two things to download, the signed certificate itself, and the intermediate certificates which must also be installed on the website.
  14. Validate the install type is IIS and click Continue, then proceed to the Download Signed Certificate link and save the certificate to the desktop of the server.
  15. Then click the IIS Installation Instructions link to open up the installation instructions.  It’s important to use these instructions for installing the Intermediate Certificate Bundle.  You can follow the Installing the SSL certificate steps as well, but it will change the flow through the Trusted Certificate wizard shown later in this instruction set.
    1. So follow the steps from GoDaddy.com, but I’m going to paste and modify them for SBS 2008 here for you as well… These are of course subject to change without notification!!!
      1. Select Run from the start menu; then type mmc to start the Microsoft Management Console (MMC). Agree to the UAC prompt
      2. In the Management Console, select File; then "Add/Remove Snap In."
      3. In the Add Standalone Snap-in dialog, choose Certificates; then click the Add button.
      4. Choose Computer Account; then click Next and Finish.
      5. Close the Add Standalone Snap-in dialog and click OK on the Add/Remove Snap-in dialog to return to the main MMC window.
      6. If necessary, click the + icon to expand the Certificates folder so that the Intermediate Certification Authorities folder is visible.
      7. Right-click on Intermediate Certification Authorities and choose All Tasks; then click Import.
      8. Follow the wizard prompts to complete the installation procedure.
      9. Click Browse to locate the certificate file (gd_iis_intermediates.p7b). You’ll have to change the file filter at the bottom right to PKCS #7 Certificates.
      10. Choose Place all certificates in the following store; then use the Browse function to locate Intermediate Certification Authorities. Click Next.
      11. Click Finish.
  16. Once this is imported, we can go back to the Trusted Certificate wizard in the product
    1. Click Add a Trusted Certificate in the console to re-launch the wizard if you closed it (as recommended above), and click Next on the welcome page.
    2. Click I have a certificate from my certificate provider and click Next.
    3. Since GoDaddy provided me with a file, I’m going to browse to the file (alternatively if the provider gave back encoded text, that could be pasted into the wizard too) that matches my domain name, in this case, remote.seandaniel.net. and clicking Next. image
    4. We’re finally done, click Finished!  Now remote clients will get the benefit of a trusted certificate, and the console reports Trusted as the certificate type.

It’s important to use the Trusted Certificate wizard for the last step, to ensure that the certificate is bound to the correct IIS website, as well as TSGateway for remote desktop access.  If you followed all the steps from GoDaddy to install the certificate, simply run the Trusted Certificate wizard and choose I want to replace the existing certificate with a new one, and you’ll get shown the trusted certificate and the self-issued certificate for your domain name, just choose the appropriate one based on the type and the expiration date:

image

On a final note, renewing your certificate after the year, just click that Add a Trusted Certificate link in the console but this time through choose I want to renew my current trusted certificate with the same provider, and follow the instructions!

I did want to call out that NetoMeter.com has a 4-step video process on how to do add GoDaddy SSL certificates to your SBS 2008 server, but a $30 monthly subscription is required to view it, which might be worth it depending on how much help you need with your SBS 2008 server, or might not be worth it if this is your only challenge.

Update – Windows Mobile 5

GoDaddy has e-mailed me regarding support for Windows Mobile 5 devices.  WM5 devices older than the AKU2 update only need to have this patch installed.  If it is an older WM5 device it needs to be unlocked to allow certificate installation.  Once you meet all of these criteria, GoDaddy has provided steps to install the required certificates on your Windows Mobile 5 device.  I will copy them here for convenience, although as a reminder, always check with GoDaddy for the latest steps!!

To install the root certificate on your Windows Mobile 5 device:

  • Download the root certificate to your PC in DER format with a .cer file extension (i.e., valicert_class2_root.cer"). The root can be downloaded from the Go Daddy repository.
  • Copy the downloaded root certificate to your device using ActiveSync.
  • On your mobile device, locate the imported file using File Explorer and click on it.
  • The device will display the following prompt: "You are about to install valicert_class2_root.cer certificate issued by http://www.valicert.com/. Do you want to continue?" (If you saved the root under a different name, that file name will show up in the prompt.)
  • Accept the prompt to install the root certificate on your device.

Labels: ,

Bookmark and Share

22 Comments ( Post a Comment ):

  • What about installing UCC/SAN Godaddy Certificates for SBS 2008? Without these certs, rpc over http will not function correctly.

    By Anonymous Anonymous, at 2/15/2009 3:27 PM  

  • RPC over HTTP worked fine for me over this certificate. Why do you need a UCC/SAN certificate?

    By Blogger Sean Daniel, at 2/16/2009 10:37 AM  

  • Regarding the SAN Certificate functioning correctly, this link is from the Exchange Team:
    http://msexchangeteam.com/archive/2007/07/02/445698.aspx

    By Anonymous Anonymous, at 2/16/2009 5:17 PM  

  • There are two things here

    (1) Autodiscovery - SBS uses a SRV record to update to remote.server.com (thus the no need for an additional SSL cert. I have a blog post here on that.

    (2) the SMTP Cert - We use a self-issued cert for Exchange SMTP. Since Exchange doesn't validate if it's a trusted cert, we never replace this one.

    By Blogger Sean Daniel, at 2/16/2009 7:16 PM  

  • great post. have a couple of questions:
    1. if you plan on installing sbs 2008 premium, and planned to have
    www.companya.com
    crm.companya.com
    moss.companya.com
    email
    exchange sync to a pda, would you go for a wildcard

    By Anonymous Anonymous, at 3/23/2009 1:37 PM  

  • If you want all of those websites to have a trusted certificate, yes, you would need a wildcard, but they are all at companya.com, why not just use the same URL?

    By Blogger Sean Daniel, at 3/23/2009 1:53 PM  

  • although at the same url, was thinking about that the exchange was on the primary server as well as remote.companya.com; while crm, etc on the win2k8 box; wss vs. moss? don't know yet;
    I desire the cheapest and easiest solution - thoughts?

    By Anonymous Anonymous, at 3/23/2009 3:32 PM  

  • Creating your own self-issued cert would be the cheapest by money, most expensive by time

    Overloading a single use cert costs some money, and some time.

    Getting a wildcard cert will be the shortest time involvement, but it's the most costly by money.

    By Blogger Sean Daniel, at 3/23/2009 3:57 PM  

  • the wildcard cert from godaddy is definitely the cheapest as compared to enom or register.com - based upon your instructions above, is it more complex to apply?

    By Anonymous Anonymous, at 3/24/2009 7:30 AM  

  • The only difference is GoDaddy has extra steps to install an intermediate certificate... and the UI will be different of course, but it shouldn't be any more difficult to use any cert provider.

    By Blogger Sean Daniel, at 3/24/2009 8:36 AM  

  • You can also get a UCC/SAN Certificate from www.certificatesforexchange.com at a cheap price. You can cover 5 domains for $60ish/year. If you need more, you can add them in 5 domain increments, IE: 10 or 15 and the price goes up accordingly.

    By Blogger Steven, at 5/30/2009 5:49 PM  

  • I have the certificate installed from Godaddy, but I cannot bind it in the wizard. I had the certificate issued from exchange, and did it in a similar way to the Server 2008 and Exchange. I have multiple names, (autodiscover.domain.com, remote.domain.com, exchange.domain.com) according to the goddady support.

    Should I revoke that certificate, delete it, and have a new one issued with jsut the remote.domain.com? Or is there a way to get it to bind to the remote site. It seems without using the wizard it is impossible.

    By Blogger jbrubakerjr, at 6/06/2009 6:58 PM  

  • Just one other thought, I did the binding throught he exchange management shell, but ecieved the mnessage that the certificate alreadt installed would be the default certificate, And when I use the method of the console to try to import an existing certificate, it does not show up in my list of available certificates. There are 2 certificates that were issued by the SBS, but none listed there by starfield (godaddy).

    Also, In the console it says I am using a trusted certificate, and the details are the one from strafield (godaddy). But I know it is not the one bound to the remote site.

    By Blogger jbrubakerjr, at 6/07/2009 2:55 AM  

  • When I use the Exchange management shell, this is the error I get:
    [PS] C:\Documents and Settings\oscar.meyer>
    Enable-ExchangeCertificate -ThumbPrint [XXXXX-THUMBPRINT-XXXXXX] -Services "SMTP, IMAP, POP, IIS"

    WARNING: This certificate will not be used for external TLS connections with an
    FQDN of 'remote.domainname.com' because the self-signed certificate with
    thumbprint 'AAA-THUMBPRINT-AAAAAAA' takes precedence. The
    following connectors match that FQDN: Windows SBS Internet Receive SBS2008

    Any thoughtson how to either overwrite or move this down the list of precedence?

    By Blogger jbrubakerjr, at 6/07/2009 3:48 AM  

  • There is absolutely no need to replace the Exchange certificate. Please don't bother doing this. Exchange certificates being self issued do not affect any functionality what-so-ever. So just use our trusted certificate wizard and you won't go a-stray.

    By Blogger Sean Daniel, at 6/23/2009 10:24 AM  

  • Thanks for the reply Sean. I have used the wizard, and it does not seem to replace the self-issued certificate in order of preference. Is there a way to do this? Move the self-issued certificate down the list and elevate the trusted third party certificate. Both seem to co-exist, but my mobile devices with Windows Mobile will not sync correctly with the self-issued certificate. They did sync correctly in the past with the third-party trusted certificate.

    Thanks again for the reply and help.

    By Blogger jbrubakerjr, at 6/24/2009 3:15 AM  

  • In the wizard it doesn't matter on the order, there can only be on installed on the website, so select that one and go ahead and install it. It should replace any self-issued certificates in IIS

    By Blogger Sean Daniel, at 6/25/2009 11:30 AM  

  • what about a "sites" certificate? I just migrated from SBS 2003 to 2008 and brought across our certificate (mail1.firm.com). Every time we open Outlook 2007, we get certificate errors that makes it sound like Outlook is looking for something called "site" but finds the mail1.firm.com certificate instead.

    Any thoughts?

    By Anonymous Anonymous, at 6/30/2009 1:52 PM  

  • Make sure you use the SBS trusted certificate to install the certificate. Does Outlook connect and download mail? This is most likely due to the sharepoint site being added inside Outlook to use Outlook as the offline data store for sharepoint. Did you set that up?

    By Blogger Sean Daniel, at 6/30/2009 2:27 PM  

  • Great Blog and info. I almost went to GoDaddy or some other authority because of problems with Mobile 6.0 and SBS 2008. No matter what I did, couldn't get it to work. Everything worked great on SBS 2003 with same settings. With help from here I got all certificates straightened on IIS, etc. The key is the intermediate store and the certificate chain. Getting the .cer file on device wasn't enough - even though it said installed. It only went in device intermediate store. All was solved with Self-Signed by exporting the certificate in IIS with key and choosing include all certificate chains. It makes a PFX file which will download over http and install in one step on Mobile 6.0!! After that it worked immediately - no need for trusted root from a major authority. Activesync bliss again!

    By Anonymous Anonymous, at 7/16/2009 11:52 AM  

  • Running the SBS2008 "Add a trusted certificate" wizard geneates a Certificate Request which includes only 3 domains - domainname.com, remote.domainname.com and internalservername.internaldomain.local. There are no autodiscovery domains. Does SBS2008 specifically do things in the background which means these domains are not required and therefore not part of the request file? I see an additional zone for remote.domainname.com gets created by the Internet Address Wizard. We have internally connected OL2007 clients (domain connected), and OL2007 installed on a bunch of laptops that connect via a VPN (not domain connected) and don't use RPC over HTTPS / Outlook Anywhere. Should I proceed and purchase the certificate with just the 3 domains? Thanks

    By Anonymous Anonymous, at 11/13/2009 8:30 AM  

  • You would create an SRV record in your public DNS entry (godaddy for example) that points the autodiscover service to "remote".

    The internet address management wizard will do this for you, just select godaddy (if that's where your domain is) and then the domain you want to use. don't bother with the godaddy transfer/purchase website, just type in your godaddy creds and it will work.

    By Blogger Sean Daniel, at 12/08/2009 12:21 PM  

Links to this post ( Create a Link ):

        << Home