Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Network Device Enrollment Service(NDES) for Active Directory Certificate Services support a policy module that provides extra security for the Simple Certificate Enrollment Protocol (SCEP). Using a policy module the NDES requires extra authentication to ensure that the certificate is issued to the right user.
This article covers how-to install and configure a policy module with the Network Device Enrollment Service (NDES).
Prerequisites
- NDES role service is installed
- NDES is configured
- Read Use a policy module with Network Device Enrollment Service
How to install and uninstall the policy module
Before you can install the policy module, you must first install and configure NDES, and verify that the service communicate successfully with an issuing certification authority.
If you have a software solution that includes the policy module, follow the installation and configuration instructions for the software rather than the instructions in this section. For example, Configuration Manager provides its own wizard, and the Configuration Manager Policy Module Setup wizard, to install and configure the policy module.
If there are no accompanying instructions, or you developed your own policy module, use the following steps.
Install and configure the policy module
Copy the .dll file for the policy module onto the server that runs the NDES.
Register the policy module by using the Regsvr32.exe command from an elevated command prompt.
For example, if your policy module is named ndespol.dll, type Regsvr32 ndespol.dll and press ENTER.
Run the following Windows PowerShell cmdlets to update the registry path HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\MSCEP:
Invoke-Item -Path HKLM:\SOFTWARE\Microsoft\Cryptography\MSCEP\Modules
This command creates the new \Modules key.
New-ItemProperty HKLM:\SOFTWARE\Microsoft\Cryptography\MSCEP\Modules\ -Name Policy -PropertyType String -Value "NDESPolicy.OTA.1"
This command specifies the policy module name, using NDESPolicy.OTA.1 as an example. Replace NDESPolicy.OTA.1 with the name of your own policy module.
Restart Internet Information Services (IIS) by typing IISReset from an elevated command prompt.
NDES supports only one registered policy module. After you register it, it's always used with NDES. To remove the policy module, manually uninstall it by updating the registry and unregistering the policy module.
Important
Removing the NDES role service doesn't uninstall the policy module.
Uninstall the policy module
Run the following Windows PowerShell cmdlet to remove the registry settings:
Remove-Item -Path HKLM:\SOFTWARE\Microsoft\Cryptography\MSCEP\Modules -Recurse
From an elevated command prompt, run the regsvr32.exe command with the /u option to unregister the policy module.
For example, if the policy module name is ndespol.dll, type regsvr32 ndespol.dll /u and press ENTER.