M
Marja Ribbers-de Vroed
Hi,
I've developed a COM DLL in Visual C++ to generate a digital signature based on a certificate read from a PFX file.
This DLL is used in a classic ASP webapplication to digitally sign a XML message before sending it to another party.
To process the PFX file I use the CryptoAPI function PFXImportCertStore, but RevertToSelf must be called prior to calling PFXImportCertStore, and the virtual directory's Application Protection option must be set to Low. Otherwise I receive the error "The system cannot find the file specified".
I understand that RevertToSelf will 'impersonate' the System Account which is undesirable from a security point of view.
What can I do to go back to the IUSR_ account again after generating the signature?
I've developed a COM DLL in Visual C++ to generate a digital signature based on a certificate read from a PFX file.
This DLL is used in a classic ASP webapplication to digitally sign a XML message before sending it to another party.
To process the PFX file I use the CryptoAPI function PFXImportCertStore, but RevertToSelf must be called prior to calling PFXImportCertStore, and the virtual directory's Application Protection option must be set to Low. Otherwise I receive the error "The system cannot find the file specified".
I understand that RevertToSelf will 'impersonate' the System Account which is undesirable from a security point of view.
What can I do to go back to the IUSR_ account again after generating the signature?