Changing ADFS certificates – Service Communications (SSL)

“Replacing the SSL and Service Communications certificates go hand-in-hand. Any time you are replacing one of these certificates, you must also replace the other. SSL certificates exist on all Federation Servers and Federation Server Proxy servers. Service Communications certificates only exist on Federation Servers”.

As you already know AD FS in W2012 R2 is not dependent from IIS anymore. IIS is running at top of HTTP.sys so configuration is a little different than with earlier operating systems.

netsh http show sslcert – show current ssl binding of machine. As you can see there is certificate with name and port xxx.com:443 with thumbprint starting 78c9…..

W2012R2-1

If SSL certificate needs to be changed following tasks needs to be done:

W2012R2-2

W2012R2-3

W2012R2-4 W2012R2-5

W2012R2-12

Prompt will open and you can select certificate. If you don’t see the new certificate in the list of available certificates

When certificate is changed warning about private key access will show up.

W2012R2-6

After changing the certificate from ADFS service you need to configure certificate bindings via PowerShell and Netsh

new1

If it’s unclear which certificate is new, you can confirm certificate thumbpring from certificates mmc console.

W2012R2-8

W2012R2-11

Restart the ADFS service

W2012R2-9

W2012R2-10

Web Application Proxy (WAP)