CCertRequest::Submit: The parameter is incorrect. 0x80070057 (WIN32: 87) on ASP.NET MVC 3


i'm using certenroll , certcli c# asp.net mvc 3 application send certificate enrollment request. server windows 2008 r2 enterprise x64 , it's enterprise sub ca.

if i'm using console application (also utilize certenroll , certcli) can send request, download response , install certificate well. after migrate application asp.net mvc 3 application, when calling the ccertrequest.submit gave me exception said "ccertrequest::submit: parameter incorrect. 0x80070057 (win32: 87)".

i guessed because of executing user permission changed apppool identity localsystem, networkservice , same domain user ran console application. of them got same exception.

i checked internet didn't find related solution.

can give suggestion or met similar problem?

 

thanks,

shaun

hi bruce, figured out question. it's because of mis-copied ca server name stupid. anyway, attention.

shaun



Windows Server  >  Security



Comments

Popular posts from this blog

CRL Revocation always failed

Failed to query the results of bpa xpath

0x300000d errors in Microsoft Remote Desktop client