Export the Private Key Portion of a Server Authentication Certificate
Applies To: Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Every federation server in an Active Directory Federation Services (AD FS) farm must have access to the private key of the server authentication certificate. If you are implementing a server farm of federation servers or Web servers, you must have a single authentication certificate. This certificate must be issued by an enterprise certification authority (CA), and it must have an exportable private key. The private key of the server authentication certificate must be exportable so that it can be made available to all the servers in the farm.
This same concept is true of federation server proxy farms in the sense that all federation server proxies in a farm must share the private key portion of the same server authentication certificate.
The AD FS Management snap-in refers to server authentication certificates for federation servers as service communication certificates.
Depending on which role this computer will play, use this procedure on the federation server computer or federation server proxy computer where you installed the server authentication certificate with the private key. When you finish the procedure, you can then import this certificate on the Default Web Site of each server in the farm. For more information, see Import a Server Authentication Certificate to the Default Web Site.
Membership in Administrators, or equivalent, on the local computer is the minimum required to complete this procedure. Review details about using the appropriate accounts and group memberships at Local and Domain Default Groups.
To export the private key portion of a server authentication certificate
On the Start screen, typeInternet Information Services (IIS) Manager, and then press ENTER.
In the console tree, click ComputerName.
In the center pane, double-click Server Certificates.
In the center pane, right-click the certificate that you want to export, and then click Export.
In the Export Certificate dialog box, click the … button.
In File name, type C:\NameofCertificate, and then click Open.
Type a password for the certificate, confirm it, and then click OK.
Validate the success of your export by confirming that the file you specified is created at the specified location.
So that this certificate can be imported to the local certificate store on the new server, you must transfer the file to physical media and protect its security during transport to the new server. It is extremely important to guard the security of the private key. If this key is compromised, the security of your entire AD FS deployment (including resources within your organization and in resource partner organizations) is compromised.
Import the exported server authentication certificate into the certificate store on the new server before you install the Federation Service. For information about how to import the certificate, see Import a Server Certificate (http:\/\/go.microsoft.com\/fwlink\/?LinkId=108283).