Try to use Internet Explorer for certificate install. Some users got same error when using Chrome for Personal Certificate request.
In fact, for code question, I suggest to ask for help from scripting forum
https://social.technet.microsoft.com/Forums/en-US/home?forum=ITCG
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn.
Thanks for your understanding and cooperating.
Certificate install on CIV chip
R, Babu
1
Reputation point
Hi Team,
I am trying to install a SmartCardLogon certificate into CIV chip and getting below error while installing the certificate.
Below is my code:
CX509Enrollment objEnroll = new CX509Enrollment();
try
{
objEnroll.Initialize(X509CertificateEnrollmentContext.ContextUser);
objEnroll.InstallResponse(InstallResponseRestrictionFlags.AllowUntrustedRoot,certificate, EncodingType.XCN_CRYPT_STRING_BASE64, null);
}
catch (Exception ex)
{
throw new PIVClientException(sError,ex);
}
And the error is below:
CertEnroll::CX509Enrollment::InstallResponse: Invalid pointer 0x80004003 (-2147467261 E_POINTER)
Thanks in advance. Any help would be really appreciated.
1 answer
Sort by: Most helpful
-
Teemo Tang 11,416 Reputation points
2020-08-06T06:49:31.977+00:00