ICertExit2 interface

The ICertExit2 interface is one of two interfaces that provide communications between the Certificate Services server and an exit module.

Note  The exit module can communicate with the Certificate Services server by using the ICertServerExit interface.

The Certificate Services server calls the ICertExit2 methods to perform the following tasks:

  • Initialize the Certificate Services server.
  • Notify the exit module of an event such as certificate issuance, CRL issuance, or server shutdown, has occurred.
  • Retrieve a description of the exit module.
  • Retrieve the ICertManageModule interface implemented by the exit module. The methods of this interface allows the Certificate Services server to configure the exit module as well as set and retrieve the exit module properties.

ICertExit2 is defined in Certexit.h. When you create your program, however, use Certsrv.h as the include file.

Certificate Services interfaces support both apartment-threading and free-threading models. For better throughput, free threading is recommended.


The ICertExit2 interface inherits and extends the ICertExit interface.


The ICertExit2 interface inherits from ICertExit and IDispatch. ICertExit2 also has these types of members:


The ICertExit2 interface has these methods.


Returns a description of the exit module and its function.

(Inherited from ICertExitICertExit2CCertExit2)

Retrieves the ICertManageModule interface implemented by the exit module.

(Inherited from ICertExit2CCertExit2)

Called by the server engine when it initializes itself.

(Inherited from ICertExitICertExit2CCertExit2)

Called by the server engine to notify an exit module that an event has occurred.

(Inherited from ICertExitICertExit2CCertExit2)



Minimum supported client

None supported

Minimum supported server

Windows Server 2003 [desktop apps only]


Certexit.h (include Certsrv.h)


IID_ICertExit2 is defined as 0abf484b-d049-464d-a7ed-552e7529b0ff