Forum Discussion
NDES certificate problem
- Oct 19, 2020
IstvanffyZ sorry, I missed that.
From my point of view the NDES logs are not useful.
The error value 0x80070057 points to "Incorrect parameter". So it seems as if either the request is malformed or the certificate template is incorrectly configured.
Hi IstvanffyZ,
please use the scripts provided in the following article to verify your NDES infrastructure first:
https://docs.microsoft.com/de-de/troubleshoot/mem/intune/verify-ndes-configuration
The scripts will provide helpful output when something is not configured correctly.
The error you provided can have many causes and we do not know your environment so unfortunately helping will be difficult with only this error message. 🙂
- IstvanffyZOct 19, 2020Brass Contributor
Hello BenKrah
as you can read, I used that validation script (no error).
Is there any detailed log option about NDES server?
Kr,
Zoltan
- BenKrahOct 19, 2020Brass Contributor
IstvanffyZ sorry, I missed that.
From my point of view the NDES logs are not useful.
The error value 0x80070057 points to "Incorrect parameter". So it seems as if either the request is malformed or the certificate template is incorrectly configured.
- IstvanffyZOct 19, 2020Brass Contributor
BenKrah thank you for your suggestion, finally it works.
The problem was on NDES server's registry, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\MSCEP\ GeneralPurposeTemplate was not set to the correct certificate template name.
After I set the cert template name and reboot NDES server, it started to work correctly.
On NDESplugin.log shows:
Calling VerifyRequest ...
Sending request to certificate registration point...
Verify challenge returns true...
Exiting VerifyRequest with 0x0
Regards,
Zoltan