ICertRequest2.Submit() return error (0x8007000D): The data is invalid
I’m trying to obtain an digital signature certificate on the local AD CA, but when executing the ICertRequest2 method, I getting an error:
Unhandled exception. System.Runtime.InteropServices.COMException (0x8007000D): The data is invalid. (0x8007000D) at CERTCLILib.ICertRequest2.Submit(Int32 Flags, String strRequest, String strAttributes, String strConfig) at GetCertIX509_1.Program.Main(String[] args)
.