IIS Admin Error: Handle Is Invalid – Permissions SSL Certificate MachineKeys
Well, I’ve been trying to setup the External Collaboration Toolkit. All of the instructions tell how to do it as a standalone SharePoint install, but I am trying to get it setup in a SharePoint farm. One of the steps in the instructions is to setup ADAM to act as the authentication for external users. The communications with ADAM need to be SSL encrypted. So, I set it up the way the instructions say and went through the portion that ensures that the UserID that runs the ADAM service has access to the SSL Certificates.
That’s when I must have went wrong. Somehow, I removed access to the SSL Certificates from the service that runs the IIS Admin service. So, when I rebooted, IIS would not start. The only thing that was in the event log was:
Handle is invalid
Real helpful, huh?
Luckily, I was able to find Microsoft KB Article #278381. The basic thing is that I needed to reset the security on the SSL Certificates. Below is an explaination:
The MachineKeys are at the following location:
All Users Profile\Application Data\Microsoft\Crypto\RSA
The following settings are the default permissions for the MachineKeys folder:
| Administrator | (Full Control) | This folder only |
| Everyone | (Special) | This folder, subfolders, and files |
| SYSTEM | (Full Control) | This folder, subfolders, and files |
To view the special permissions for the Everyone group, right-click the MachineKeys folder, click Advanced on the Security tab, and then click View/Edit. The permissions consist of the following permissions:
- List Folder/Read Data
- Read Attributes
- Read Extended Attributes
- Create Files/Write Data
- Create Folders/Append Data
- Write Attributes
- Write Extended Attributes
- Read Permissions
Select the Reset Permissions on all Child objects and enable propagation of inheritable permissions check box.
May 5, 2010 | Posted by Stewart Schatz
Categories:
Tags: |