Deploy Edge Servers in Skype for Business Server 2015

Skype for Business Server 2015
 

Topic Last Modified: 2015-08-17

Summary: Learn how to deploy Edge Servers into your Skype for Business Server 2015 environment.

The following sections contain steps that are meant to be followed after the Skype for Business Server 2015 Plan for Edge Server deployments in Skype for Business Server 2015 documentation has been reviewed. The deployment steps are as follows:

  • Network interfaces

  • Installation

  • Certificates

  • Starting the Edge Servers

As noted in Planning, you will either be configuring your network interface with DNS in the perimeter network hosting your Edge Servers, or without DNS in the perimeter network.

  1. Install two network adapters for each Edge Server, one for the internal-facing interface, and one for the external-facing interface.

    noteNote:
    The internal and external subnets must not be routable to each other.
  2. On your external interface, you’ll configure one of the following:

    1. Three static IP addresses on the external perimeter network subnet, and point the default gateway to the internal interface of the external firewall. Configure the adapter DNS settings to point to a pair of perimeter DNS servers.

    2. One static IP address on the external perimeter network subnet, and point the default gateway to the internal interface of the external firewall. Configure the adapter DNS settings to point to a pair of perimeter DNS servers. This configuration is ONLY acceptable if you have previously configured your topology to have non-standard values in the port assignments, which is covered in the Create your Edge topology for Skype for Business Server 2015 article.

  3. On your internal interface, configure one static IP on the internal perimeter network subnet, and don’t set a default gateway. Configure the adaptor DNS settings to point to at least one DNS server, but preferably a pair of perimeter DNS servers.

  4. Create persistent static routes on the internal interface to all internal networks where clients, Skype for Business Server 2015, and Exchange Unified Messaging (UM) servers reside.

  1. Install two network adapters for each Edge Server, one for the internal-facing interface, and one for the external-facing interface.

    noteNote:
    The internal and external subnets must not be routable to each other.
  2. On your external interface, you’ll configure one of the following:

    1. Three static IP addresses on the external perimeter network subnet. You’ll also need to configure the default gateway on the external interface, for example, defining the internet-facing router or the external firewall as the default gateway. Configure the adapter DNS settings to point to an external DNS server, ideally a pair of external DNS servers.

    2. One static IP address on the external perimeter network subnet. You’ll also need to configure the default gateway on the external interface, for example, defining the internet-facing router or the external firewall as the default gateway. Configure the adapter DNS settings to point to an external DNS server, or ideally a pair of external DNS servers. This configuration is ONLY acceptable if you have previously configured your topology to have non-standard values in the port assignments, which is covered in the Create your Edge topology for Skype for Business Server 2015 article.

  3. On your internal interface, configure one static IP on the internal perimeter network subnet, and don’t set a default gateway. Also leave the adapter DNS settings empty.

  4. Create persistent static routes on the internal interface to all internal networks where clients, Skype for Business Server 2015, and Exchange Unified Messaging (UM) servers reside.

  5. Edit the HOST file on each Edge Server to contain a record for the next hop server or virtual IP (VIP). This record will be the Director, Standard Edition server or Front End pool you configured as the Edge Server next hop address in Topology Builder. If you’re using DNS load balancing, include a line for each member of the next hop pool.

To complete these steps successfully, you will need to have followed the steps in the Create your Edge topology for Skype for Business Server 2015 article.


  1. Log onto the server you’ve been configuring for the Edge Server role with an account that’s in the local Administrator’s group.

  2. You’ll need the topology configuration file you copied out at the end of the Edge Server Topology documentation on this machine. Access the external media you placed that configuration file on (like a USB drive or share).

  3. Start the Deployment Wizard.

  4. Once the wizard opens, click Install or Update Skype for Business Server System.

  5. The wizard will run checks to see if anything’s already installed. As this is the first time running the wizard, you’ll want to start at Step 1. Install Local Configuration Store.

  6. The Configure Local Replica of Central Management store dialog will appear. You need to click Import from a file (Recommended for Edge Servers).

  7. From here, browse to the location of the topology you exported previously, select the .zip file, click Open, and then click Next.

  8. The Deployment Wizard will read the configuration file and write the XML configuration file to the local computer.

  9. After the Executing Commands process is finished, click Finish.

  10. In the Deployment Wizard, click Step 2. Setup or Remove Skype for Business Server Components. The wizard will then install the Skype for Business Server 2015 Edge components specified in the XML configuration file that’s been stored on the local computer.

  11. Once the installation’s complete, you can move onto the steps in the Certificates section below.

The certificate requirements for the Edge Server can be found in the Edge Certificate Planning documentation. The steps for setting up certificates are below.

noteNote:
NOTE: When running the Certificate Wizard, you need to be logged in as an account with the correct permissions for the type of certificate template you’re going to use. By default, a Skype for Business Server certificate request is going to use the Web Server certificate template. If you’re logged in with an account that’s a member of the RTCUniversalServerAdmins group to request a certificate via this template, double-check to make sure the group’s been assigned the Enroll permissions to use that template.

      1. Log into a Skype for Business Server 2015 server in your internal network as a member of the local Administrators group.

      2. Open up Start, and Run (or Search and Run), and then type the following:

        https://<NAME OF YOUR ISSUING CA SERVER>/certsrv
        

        For example:

        https://ca01/contoso.com/certsrv
        
      3. On the issuing CA’s certsrv web page, under Select a task, click Download a CA certificate, certificate chain, or CRL.

      4. Under Download a CA certificate, certificate chain, or CRL, click Download CA certificate chain.

      5. In the File Download box, click Save.

      6. Save the .p7b file to the hard disk drive on the server, and then copy it to a folder on each of your Edge Servers.

      1. You can export the CA root certificate from any domain joined machine using the MMC. Either go to Start and Run, or open Search, and type MMC to open.

      2. In the MMC console, click File, and then click Add/Remove Snap-In.

      3. From the Add or Remove Snap-ins dialog list, choose Certificates, and then click Add. When prompted, select Computer Account, and then Next. On the Select Computer dialog, select Local Computer. Click Finish, and then OK.

      4. Expand Certificates (Local computer). Expand Trusted Root Certification Authorities. Select Certificates.

      5. Click the root certificate issued by your CA. Right-click the certificate, choose All Tasks on the menu, and then select Export.

      6. The Certificate Export Wizard opens. Click Next.

      7. On the Export File Format dialog, choose the format you want to export to. Our recommendation is Cryptographic Message Syntax Standard - PKCS #7 Certificates (P7b). If that’s your choice as well, remember to also select the Include all certificates in the certification path if possible checkbox, as this will also export the certificate chain, including the root CA certificate and any Intermediate certificates. Click Next.

      8. On the File to Export dialog, in the file name entry, type a path and file name (the default extension would be .p7b) for the exported certificate. If it’s easier on you, choose the Browse button to go to the location you want to save the exported certificate to, and name the exported certificate here. Click Save, and then Next when you’re ready.

      9. Review the summary of your actions, and click Finish to complete the export of the certificate. Click OK to confirm the successful export.

      10. Copy the .p7b file to each of your Edge Servers.

    1. On each Edge Server, open the MMC (choose Start and Run, or Search, and type MMC to open).

    2. On the File menu, click Add/Remove Snap-in, and then choose Add.

    3. In the Add or Remove Snap-ins box, click Certificates, and then click Add.

    4. In the Certificate snap-in dialog box, click Computer account, and then click Next.

    5. In the Select Computer dialog box, ensure that the Local Computer: (the computer this console is running on) check box is selected, and then click Finish.

    6. Click Close, and then OK.

    7. In the console tree, expand Certificates (Local Computer), right-click Trusted Root Certification Authorities, go to All Tasks, and then click Import.

    8. In the wizard that appears, in the File to Import textbox, specify the file name of the certificate (the name you gave the .p7b file in the previous section). Click Next.

    9. Leave the radio button on Place all certificates in the following store, as Trusted Root Certification Authorities should be selected. Click Next.

    10. Review the summary, and click Finish to complete the import.

    11. This will need to be done for every Edge Server you’re deploying.

    1. Log on to one of your Edge Servers, start the Deployment Wizard, and on Step 3: Request, Install, or Assign Certificates, click Run (or Run Again, if you’ve already run this wizard).

    2. On the Certificate Request page, ensure Internal Edge Certificate is selected, and click Request.

    3. On the Delayed or Immediate Requests page, choose Send the request immediately to an online cerification authority if you have access to one from your Edge environment, or Prepare the request now, but send it later otherwise.

    4. On the Certificate Request File page, enter the full part and file name for where the file will be saved (such as c:\SkypeInternalEdgeCert.cer). Click Next.

    5. On the Specify Alternate Certificate Template page, to use a template other than the default WebServer template, check the Use alternative certificate template for the selected Certificate Authority check box. Otherwise, do nothing.

    6. On the Name and Security Settings page, do the following:


      1. In Friendly name, enter a display name for the certificate (such as Internal Edge).

      2. In Bit length, choose your bit length (the default is 2048, you can go higher and be more secure, but it will make performance slow down).

      3. If you need an exportable certificate, you must check the Mark certificate private key as exportable check box.

      4. Click Next.

    7. On the Organization Information page, enter the name for your organization and organizational unit (OU). You might enter your division or department (IT, for example).

    8. On the Geographical Information page, enter your location information.

    9. On the Subject Name/Subject Alternate Names page, this should be auto-populated by the wizard.

    10. On the Configure Additional Subject Alternate Names page, you need to add any additional subject alternative names that you need.

    11. On the Request Summary page, look over the certificate information that’s going to be used to generate your request. If you need to make changes, go back and do so now.

    12. Then click Next to generate the CSR file you’ll need to provide to the CA (you can also click View Log to look at the log for the certificate request).

    13. Once the request has been generated, you can click View to look at the certificate, and Finish to close out the window. The contents of the CSR file need to be given to your CA, so they can generate a certificate for you to import to this computer in the next section.

    1. Log on, as a member of the local Administrators group, to the Edge Server you made your certificate request from in the last procedure.

    2. In the Deployment Wizard, next to Step 3. Request, Install or Assign Certificates, click Run Again.

    3. On the Available Certificates Tasks page, click Import a certificate from a .P7b, .pfx or .cer file.

    4. On the Import Certificate page, type the full path and file name of the certificate you got in the previous section (or you can click Browse to find and choose the file that way).

    5. If you’re importing certificates for other members of your Edge pool, and your certificate contains a private key, be sure to select the Certificate file that contains certificate’s private key check box, and specify the password. Click Next to continue.

    6. On the Summary page, click Next once you’ve confirmed the information, and Finish once the certificate is successfully imported.

    1. Make sure you’ve logged onto the Edge Server you imported the certificate to previously, as a member of the local Administrators group.

    2. Click Start, Run (or open Search), and type MMC.

    3. From the MMC console, click File, and click Add/Remove Snap-in.

    4. From the Add or Remove Snap-ins box, click Certificates, and click Add.

    5. In the Certificates snap-in dialog box, choose Computer account. Click Next.

    6. On the Select Computer dialog, select Local computer: (the computer this console is running on). Click Finish. Click OK, and the configuration of the MMC console is completed.

    7. Double-click Certificates (Local Computer) to expand the certificate stores. Double-click Personal, and then click Certificates.

      noteNote:
      You may be here, and you don’t see any certificates in the Certificates Personal store for the local computer. You don’t need to hunt around, if the key’s not there, the imported certificate didn’t have a private key associated with it. Try the request and import steps above one more time, and if you’re sure you got all that right, talk to your CA administrator or provider.
    8. In the Certificates Personal store for the local computer, right-click the certificate that you’re exporting. Select All Tasks from the resulting menu, and then click Export.

    9. In the Certificate Export Wizard, click Next. Select Yes, export the private key. Click Next.

    10. On the Export File Formats dialog, select Personal Information Exchange - PKCS#12 (.PFX), and then select the following:


      1. Include all certificates in the certification path, if possible.

      2. Export all extended properties.

        noteNote:
        NEVER select Delete the private key if the export is successful. It’ll mean you have to reimport the certificate and private key back to this Edge Server.
    11. If you want to assign a password to protect the private key, you can type a password for the private key. Reenter the password to confirm, and then click Next.

    12. Type a path and file name for the exported certificate, using a file extension of .pfx. The path either needs to be accessible by the other Edge Servers in the pool, or you’ll need to move the file by means of external media (such as a USB drive). Click Next when you’ve made your choice.

    13. Review the summary on the Completing the Certificate Export Wizard dialog, and then click Finish.

    14. Click OK in the successful export dialog.

    1. On EACH Edge Server, in the Deployment Wizard, next to Step 3. Request, Install or Assign Certificates, click Run again.

    2. On the Available Certificates Tasks page, click Assign an existing certificate.

    3. On the Certificate Assignment page, select Edge Internal in the list.

    4. On the Certificate Store page, select the certificate you’ve imported for the internal Edge (from the previous section).

    5. On the Certificate Assignment Summary page, look over the settings, and then click Next to assign the certificate.

    6. 6. On the wizard completion page, click Finish.

    7. Once you’ve completed this procedure, it’s a really good idea to open the Certificates MMC snap-in on each Edge Server, expand Certificates (Local computer), expand Personal, click Certificates, and confirm that the internal Edge certificate is listed in the details pane.

    1. Log on to one of your Edge Servers, start the Deployment Wizard, and on Step 3: Request, Install, or Assign Certificates, click Run (or Run Again, if you’ve already run this wizard).

    2. On the Available Certificate Tasks page, click Create a new certificate request.

    3. On the Certificate Request page, ensure External Edge Certificate is selected, and click Next.

    4. On the Delayed or Immediate Requests page, click Prepare the request now, but send it later.

    5. On the Certificate Request File page, enter the full part and file name for where the file will be saved (such as c:\SkypeInternalEdgeCert.cer). Click Next.

    6. On the Specify Alternate Certificate Template page, to use a template other than the default WebServer template, check the Use alternative certificate template for the selected Certificate Authority check box.

    7. On the Name and Security Settings page, do the following:


      1. In Friendly name, enter a display name for the certificate (such as External Edge).

      2. In Bit length, choose your bit length (the default is 2048, you can go higher and be more secure, but it will make performance slow down).

      3. If you need an exportable certificate, you must check the Mark certificate private key as exportable check box.

      4. Click Next.

    8. On the Organization Information page, enter the name for your organization and organizational unit (OU). You might enter your division or department (IT, for example).

    9. On the Geographical Information page, enter your location information.

    10. On the Subject Name/Subject Alternate Names page, the needed information should be auto-populated by the wizard.

    11. On the SIP Domain Setting on Subject Alternate Names (SANs) page, check the domain checkbox to add a sip.<sipdomain> entry to the subject alternative names list.

    12. On the Configure Additional Subject Alternate Names page, you need to add any additional subject alternative names that you need.

    13. On the Request Summary page, look over the certificate information that’s going to be used to generate your request. If you need to make changes, go back and do so now.

    14. When you’re ready, click Next to generate the CSR file you’ll need to provide to the CA (you can also click View Log to look at the log for the certificate request).

    15. Once the request has been generated, you can click View to look at the certificate, and Finish to close out the window. The contents of the CSR file need to be given to your CA, so they can generate a certificate for you to import to this computer in the next section.

    16. (OPTIONAL) You may, when submitting the contents of the CSR, be asked for certain information, as follows (CAs vary greatly, so this may not be required):

      • Microsoft as the server platform

      • IIS as the version

      • Web Server as the usage type

      • PKCS7 as the response format

    1. Log on, as a member of the local Administrators group, to the Edge Server you made your certificate request from in the last procedure.

    2. In the Deployment Wizard, next to Step 3. Request, Install or Assign Certificates, click Run Again.

    3. On the Available Certificates Tasks page, click Import a certificate from a .P7b, .pfx or .cer file.

    4. On the Import Certificate page, type the full path and file name of the certificate you got in the previous section (or you can click Browse to find and choose the file that way). If your certificate contains a private key, make sure to select Certificate file contains certificate’s private key, and enter the password for the private key. Click Next when ready.

    5. On the Import Certificate Summary page, review the summary information, and click Next.

    6. On the Executing Commands page, you can review the result of the import when it’s complete by clicking View Log. Click Finish to complete the certificate import.

    7. If you have other Edge Servers in a pool, you’ll need to follow the next two procedures as well. If this is a standalone Edge Server, you’re done with external certificates.

    1. Make sure you’ve logged onto the Edge Server you imported the certificate to as a local Administrator.

    2. Click Start, Run (or open Search), and type MMC.

    3. From the MMC console, click File, and then click Add/Remove Snap-in.

    4. From the Add or Remove Snap-ins box, click Certificates, and click Add.

    5. In the Certificates snap-in dialog box, choose Computer account. Click Next.

    6. On the Select Computer dialog, select Local computer: (the computer this console is running on). Click Finish. Click OK, and the configuration of the MMC console is completed.

    7. Double-click Certificates (Local Computer) to expand the certificate stores. Double-click Personal, and then click Certificates.

      noteNote:
      You may be here, and you don’t see any certificates in the Certificates Personal store for the local computer. You don’t need to hunt around, if the key’s not there, the imported certificate didn’t have a private key associated with it. Try the request and import steps above one more time, and if you’re sure you got all that right, talk to your CA administrator or provider.
    8. In the Certificates Personal store for the local computer, right-click the certificate that you’re exporting. Select All Tasks from the resulting menu, and then click Export.

    9. In the Certificate Export Wizard, click Next. Select Yes, export the private key. Click Next.

      noteNote:
      If Yes, export the private key isn’t available, then the private key for this certificate wasn’t marked for export before you got it. You need to request the certificate from the provider again, with the private key set to export, before doing this successfully.
    10. On the Export File Formats dialog, select Personal Information Exchange - PKCS#12 (.PFX) and then select the following:


      1. Include all certificates in the certification path, if possible.

      2. Export all extended properties.

        noteNote:
        NEVER select Delete the private key if the export is successful. It’ll mean you have to reimport the certificate and private key back to this Edge Server.
    11. If you want to assign a password to protect the private key, you can type a password for the private key. Reenter the password to confirm, and then click Next.

    12. Type a path and file name for the exported certificate, using a file extension of .pfx. The path either needs to be accessible by the other Edge Servers in the pool, or you’ll need to move the file by means of external media (such as a USB drive). Click Next when you’ve made your choice.

    13. Review the summary on the Completing the Certificate Export Wizard dialog, and then click Finish.

    14. Click OK in the successful export dialog.

    15. You’ll now need to go back to the Import the certificate section prior to this and import the certificate to all your remaining Edge Servers, then proceed with assigning, below.

    1. On EACH Edge Server, in the Deployment Wizard, next to Step 3. Request, Install or Assign Certificates, click Run again.

    2. On the Available Certificates Tasks page, click Assign an existing certificate.

    3. On the Certificate Assignment page, select Edge External in the list.

    4. On the Certificate Store page, select the certificate you’ve imported for the external Edge (from the previous section).

    5. On the Certificate Assignment Summary page, look over the settings, and then click Next to assign the certificate.

    6. On the wizard completion page, click Finish.

    7. Once you’ve completed this procedure, it’s a really good idea to open the Certificates MMC snap-in on each server, expand Certificates (Local computer), expand Personal, click Certificates, and confirm that the internal Edge certificate is listed in the details pane.

      noteNote:
      You will also have needed to set up the certificates for your reverse proxy server. That’s covered in the Setup Reverse Proxy Servers for Skype for Business Server 2015 topic.

Once the setup is complete, you’ll need to start the services on each Edge server in your deployment:


  1. On each Edge Server, in the Deployment Wizard, next to Step 4: Start Services, click Run.

  2. On the Start Skype for Business Server Services page, review the list of services, and then click Next to start the services.

  3. After the services are started, you can click Finish to close the wizard.

  4. (Optional) Still under Step 4: Start Services, click Services Status.

  5. 5. In the Services MMC on each server, verify that all the Skype for Business Server 2015 services are running.

 
Show: