Step 4: Exporting the SSL Certificate for the RD Gateway Server
Applies To: Windows Server 2008 R2
When you export the certificate, ensure that you export the private key. If this option is not available for the certificate that you have selected, you must obtain a new certificate for the Forefront TMG server.
Perform the following procedure on the RD Gateway server, RDG-SRV, to export the SSL certificate for the RD Gateway server and copy it to the Forefront TMG server, TMG-SRV.
To export the SSL certificate for the RD Gateway server and copy it to the Forefront TMG Server
Log on to RDG-SRV as CONTOSO\Administrator.
On the RD Gateway server, open the Certificates snap-in console as follows:
Click Start, click Run, type mmc, and then click OK.
On the File menu, click Add/Remove Snap-in.
In the Add or Remove Snap-ins dialog box, in the Available snap-ins list, click Certificates, and then click Add.
In the Certificates snap-in dialog box, click Computer account, and then click Next.
In the Select Computer dialog box, click Local computer: (the computer this console is running on), and then click Finish.
In the Add or Remove snap-ins dialog box, click OK.
In the Certificates snap-in console tree, expand Certificates (Local Computer), expand Personal, and then click Certificates.
Right-click the certificate RDG-SRV.contoso.com, point to All Tasks, and then click Export.
On the Welcome to the Certificate Export Wizard page, click Next.
On the Export Private Key page, click Yes, export the private key, and then click Next.
On the Export File Format page, ensure that Personal Information Exchange - PKCS #12 (.PFX) is selected, select the Include all certificates in the certification path if possible check box, and then click Next.
On the Password page, type password, confirm the password, and then click Next.
On the File to Export page, in the File name box, click Browse.
In the Save As dialog box, in the File name box, enter RDG-SRV, and then click Save.
On the File to Export page, click Next.
On the Completing the Certificate Export Wizard page, confirm that the correct certificate is specified, that Export Keys is set to Yes, and that Include all certificates in the certification path is set to Yes, and then click Finish.
After the certificate export has successfully completed, a message appears confirming that the export was successful. Click OK.
Close the Certificates snap-in.
Copy the RD Gateway server certificate c:\users\administrator.CONTOSO\Documents\RDG-SRV.pfx, to the Forefront TMG Server (TMG-SRV).
You have exported the certificate, and the private key on the RD Gateway server and copied it to Forefront TMG server. Now you can proceed to Step 5: Importing the SSL Certificate on the Forefront TMG Server.