Replace the ADFS3.0 SSL certificate

Source: Internet
Author: User
Tags ssl certificate

The most recent project started with a self-built domain certificate, and the result is that the certificate cannot be added to a trusted certificate authority in IE outside of the domain (perhaps because of the inability to connect to the certification authority for the domains). Helpless, had to use MakeCert to create a self-signed SSL certificate. Here's how to replace the ADFS3.0 SSL certificate.

A Replace the ADFS3.0 certificate

1 Import the new certificate into the personal storage area of the ADFS3 machine (the personal store of the local computer)

2 The new certificate must be in the PFX format, with the private key

3 Enter the local Computer Certificate snap-in (MMC)

Select the imported certificate, then all tasks-manage the private key, add the ADFS service account, and note that the "Service Account" option is selected when locating the service account.

4 Go to the ADFS snap-in, jump to-service-certificate, then select Set Communication certificate

Select a new certificate at this point, if you choose not to see the new certificate, it means that the new certificate is not imported to the correct location or the ADFS service account cannot read the certificate's private key.

5 after a few 10 seconds, go to PowerShell and execute the following command to replace the ADFS3 SSL certificate (note that ADFS3 is loaded directly from HTTP. SYS and is not installed on IIS, so replace the SSL certificate via PowerShell)

Execute Set-adfssslcertificate-thumbprint xxxxthumbprintofthenewsslcertxxxxx

Xxxxthumbprintofthenewsslcertxxxxx is the thumbprint of the new certificate, you can see it from the properties of the newly certificate, notice to remove the middle space

6 Restart the adfs3.0 service.

Replace the ADFS3.0 SSL certificate

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.