Search
StarWind is a hyperconverged (HCI) vendor with focus on Enterprise ROBO, SMB & Edge

Office 365 update AD FS SSL certificate with Azure AD Connect

  • December 20, 2018
  • 8 min read
Cloud and Virtualization Architect. Paolo is a System Engineer, VCP-DCV, vExpert, VMCE, Veeam Vanguard, and author of the virtualization blog nolabnoparty.com
Cloud and Virtualization Architect. Paolo is a System Engineer, VCP-DCV, vExpert, VMCE, Veeam Vanguard, and author of the virtualization blog nolabnoparty.com

office-365-update-adfs-ssl-certificate-01

When the AD FS SSL certificate of your Office 365 infrastructure is about to expire, you need to update the AD FS SSL certificate accordingly to avoid services disruption.

During the configuration of the Office 365 environment you need to install an SSL certificate to establish a secure communication between Office 365 components. To easily update the SSL certificate for both AD FS and WAP Servers you can use the Azure AD Connect tool. This procedure works also if the user sign-in method is not AD FS.

The overall procedure can be summarized as follows:

office-365-update-adfs-ssl-certificate-02

Prerequisites

To successfully update the SSL certificate, you need to meet the following prerequisites:

  • AD FS – the AD FS infrastructure should be Windows Server 2012 R2 or later.
  • Azure AD Connect tool – the Azure AD Connect version must be 1.1.553.0 or higher.

Update AD FS SSL certificate

Open the Microsoft Azure Active Directory Connect tool and click Configure. Keep in mind that during this configuration time the synchronization service scheduler will be suspended.

office-365-update-adfs-ssl-certificate-03

From the Tasks section, select Manage federation then click Next.

office-365-update-adfs-ssl-certificate-04

Select Update AD FS SSL certificate option and click Next.

office-365-update-adfs-ssl-certificate-05

Enter the Office 365 Administrator credentials and click Next.

office-365-update-adfs-ssl-certificate-06

Now enter the credentials of the account with local administrator privileges in the AD FS server and click Next.

office-365-update-adfs-ssl-certificate-07

Click Browse to search for AD FS servers in your network.

office-365-update-adfs-ssl-certificate-08

Enter a string to identify the AD FS Servers and click on the Search button. Select the required servers then click OK.

office-365-update-adfs-ssl-certificate-09

Alternatively you can specify the required AD FS server in the SERVER field and click Add.

office-365-update-adfs-ssl-certificate-10

To delete servers in the list no longer part of the AD FS infrastructure (they are indicated with a yellow exclamation mark), click on Remove button. Click Next to continue.

office-365-update-adfs-ssl-certificate-11

Enter the WAP Server to connect and click Add or click Browse to search for WAP Servers in your network.

office-365-update-adfs-ssl-certificate-12

Since the WAP Server in the example resides in the DMZ and is not joined to domain, a local account in the WAP Server has to be specified to establish the connection.

office-365-update-adfs-ssl-certificate-13

If you are not able to establish a connection with the WAP Server or you receive Invalid username or password error message, you need to do some additional tasks.

office-365-update-adfs-ssl-certificate-14

If the WAP Server is not joined to domain, first ensure the service Windows Remote Management (WS-Management) is running in the WAP Server.

office-365-update-adfs-ssl-certificate-14

From the WAP Server’s PowerShell command window, run the following command:

office-365-update-adfs-ssl-certificate-15

Now access the server where the Azure AD Connect tool is installed and run the following PowerShell command:

office-365-update-adfs-ssl-certificate-16

Open the Server Manager and add DMZ WAP host to machine pool selecting Manage > Add Servers from the menu.

office-365-update-adfs-ssl-certificate-17

Go to DNS tab and enter the WAP server name or IP address in the Search field then click on Search icon.

office-365-update-adfs-ssl-certificate-18

Select the required WAP Server and click the Add icon. Click OK to confirm.

office-365-update-adfs-ssl-certificate-19

Right click the added WAP Server and select Manage as option.

office-365-update-adfs-ssl-certificate-20

Enter the local credentials of the WAP Server to access the machine.

office-365-update-adfs-ssl-certificate-21

From the Azure AD Connect tool try to add the WAP Server once again. This time the connection is established successfully. Click Next to continue.

office-365-update-adfs-ssl-certificate-23

Click on Browse and select the certificate file to use. To avoid problems, the used certificate must meet the following prerequisites:

  • the subject name is either the same as the federation service name
  • it is valid for more than 30 days
  • the trust chain is valid
  • it is password protected

office-365-update-adfs-ssl-certificate-24

Enter the password used to export the certificate then click OK.

office-365-update-adfs-ssl-certificate-25

Details of the selected certificate are displayed. Click Next.

https://nolabnoparty.com/wp-content/uploads/2018/12/office-365-update-adfs-ssl-certificate-27-1-600x423.jpg

Select servers for SSL certificate update then click Next.

office-365-update-adfs-ssl-certificate-27

Click Configure to proceed with the configuration.

office-365-update-adfs-ssl-certificate-28

The SSL certificate is being installed on selected servers.

office-365-update-adfs-ssl-certificate-29

 

When the configuration has been completed successfully, you can click the Verify button to verify the AD FS sign-in or click Exit to close the wizard.

office-365-update-adfs-ssl-certificate-30

The SSL certificate used in your Office 365 infrastructure has been updated successfully.

Hey! Found Paolo’s article helpful? Looking to deploy a new, easy-to-manage, and cost-effective hyperconverged infrastructure?
Alex Bykovskyi
Alex Bykovskyi StarWind Virtual HCI Appliance Product Manager
Well, we can help you with this one! Building a new hyperconverged environment is a breeze with StarWind Virtual HCI Appliance (VHCA). It’s a complete hyperconverged infrastructure solution that combines hypervisor (vSphere, Hyper-V, Proxmox, or our custom version of KVM), software-defined storage (StarWind VSAN), and streamlined management tools. Interested in diving deeper into VHCA’s capabilities and features? Book your StarWind Virtual HCI Appliance demo today!