Domanda

I am writing a windows service which can be triggered whenever a new certificate is added to the MY certificate store. It then opens the certificate store through this service and carries out some actions.

Is there a way to implement a callback function in the service/application which can be called by the crypto APIs when applications like mmc.exe or certreq.exe request and install a new certificate in the certificate store?

È stato utile?

Soluzione

Found an alternative. MY cert store certificates are written in

C:\Users\username\AppData\Roaming\Microsoft\SystemCertificates\My\Certificates

Now using a directory event watcher to view newly installed certificates.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top