This enrollment code talks to the certificate services and gets a certificate issued against the incoming CSR.
this is working fine on 2008-R2 system. We have an identical setup on a 2012-R2 VM running thios same code.
For every request, I get error 0x80004003 thrown from different initialize routines.
Example:
Error in SKAE:IX509Extension::Initialize: 0x80004003
Error in IX509PublicKey::Initialize: 0x80004003
I have seen the certificate request pass 5 times. I have no idea why the behavior is so random. This code is working fine on production CA's.
I compiled the code on VS 2013 for x86 and x64 just to make sure there are no incompatible API in use here. Are there any compatiblity issues that I need to be aware of when upgrading the OS. Are there any known issues when running certificate services on 2012-R2?
Is there a link which provides a sample code/ sample steps to request a cert using certificate templates on 2012-R2.
I initially thought this was because I was running a VM. But The error happens on a physical box as well.