The LDAP Server is Unavailable using PrincipalContext and ADLDS

雨燕双飞 提交于 2019-12-05 13:35:33

Have you tried using Microsoft Management Console to import the certificate?

Two ways to install the certificate

Either

  1. Open a cmd.exe console and type "MMC"
  2. File > Add/Remove Snap-In...
  3. Select Certificates, click Add
  4. Choose Computer Account and Local Computer when prompted, then OK...
  5. Certificates should now be showing under Console Root
  6. Certificates > Trusted Root Certification Authorities > Certificates > (right-click) > All Tasks > Import Certificate...
  7. Find the certificate you want to import, click Next and choose defaults (Trusted Root Certification Authorities should already be selected)
  8. Click Next, Finish

(or)

Simply double-click on the .cer file for the certificate in Windows Explorer, click Install Certificate... > Next > select the option to "Place all certificates in following store" > Browse... > Select Trusted Root Certification Authorities. Continue with next until done.


At this point your certificate is installed, and you should be able to communicate securely with your ADLDS server.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!