The SMTP Exit module does not work on Windows Server Core

Assume the following scenario:

  • A certificate authority is installed on Windows Server Core.
  • The SMTP file supplied with the certification authority is used. Exit module configured.
  • However, the Certification Authority does not send e-mails.
  • In the event log, the Event no. 46 logged with the following error message:
The "Windows default" Exit Module "Initialize" method returned an error. Class not registered The returned status code is 0x80040154 (-2147221164). The Certification Authority was unable to initialize email messaging objects.

Cause

Do you know TameMyCerts? TameMyCerts is an add-on for the Microsoft certification authority (Active Directory Certificate Services). It extends the function of the certification authority and enables the Application of regulationsto realize the secure automation of certificate issuance. TameMyCerts is unique in the Microsoft ecosystem, has already proven itself in countless companies around the world and is available under a free license. It can downloaded via GitHub and can be used free of charge. Professional maintenance is also offered.

The "Windows Default" Exit module cannot be used on Windows Server Core because the Collaboration Data Objects (CDO) libraries required for e-mail dispatch by the module are not installed here.

If the functions are not needed, the exit module can be completely deactivated be

An example project for creating your own exit module can be found in the article "Create an exit module for the certification authority in C#„.

Related links:

External sources

2 thoughts on “Das SMTP Exit Modul funktioniert nicht auf Windows Server Core”

Comments are closed.

en_USEnglish