简体   繁体   中英

Certificate Rebind in IIS 10 using powershell

I'm trying to enable the "certificate rebind option in IIS 10" https://docs.microsoft.com/en-us/iis/get-started/whats-new-in-iis-85/certificate-rebind-in-iis85 using PowerShell.

I found nothing but this, https://delpierosysadmin.wordpress.com/2015/02/23/iis-8-5-enable-automatic-rebind-of-renewed-certificate-via-command-line/

Is there any other way to do this?

Just creating the scheduled task as described in the referenced blog post should be sufficient.

There are no configuration changes in IIS when the you enable the feature in the IIS GUI.

IIS Manager just checks for the existence of a task

\Microsoft\Windows\CertificateServicesClient\IIS-AutoCertRebind

if such a task exists, regardless of what it does, IIS Manager changes the wording on the link.

In my case the solution to this problem was simple but dumb. I started the IIS-Console using the Server-Manager -> Tools, and got the same error every time I tried to enable the automatic rebind.

After a while of testing I opened a cmd with admin-privileges, ran an mmc and added the IIS-Console there ... and tried the same thing. Well long story short, it worked facepalm

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM