Netwrix Auditor Event Log Manager shows SMTP authentication errors while configuring a monitoring plan
Symptom
-
Netwrix Auditor Event Log Manager does not collect logs and shows the following error while trying to 'verify' if the messages were being sent in the Event Log Manager monitoring plan.
![User-added image]./../0-images/ka04u00000116xf_0EM4u000008Ljuv.png) -
When providing credentials for the Netwrix Auditor Event Log Manager monitoring plan, the following dialog appears:
The specified account cannot be verified. The user name or password is incorrect.
Cause
This error occurs when using o365 SMTP Server that requires TLS 1.2 enabled on the computer that hosts Netwrix Auditor Server and on the target server(s).
Resolution
Follow the steps below to resolve the issue:
-
Make sure that TLS 1.2 is enabled on the target server:
- Open Registry Editor and navigate to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client\Enabled. - If enabled, the key value should be
"1". - For additional information about TLS enabling, refer to the following article: Сonnection Issue when TLS 1.2 Is Required.
- Open Registry Editor and navigate to
-
Configure all .NET Framework keys on the Netwrix Auditor and target server(s). Use the download link to configure registry keys automatically. Run the file on your Auditor Server and all target servers.
-
On the target server, open Registry Editor and navigate to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL. Change the EventLogging value to"7". -
If the settings listed above are configured correctly, but the issue persists, also consider checking the WinHTTP settings. On the target server, open Registry Editor and check the following registry keys:
Learn more in Update to enable TLS 1.1 and TLS 1.2 as default secure protocols in WinHTTP in Windows ⸱ Microsoft
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\WinHttp\DefaultSecureProtocols = (DWORD): 0xAA0HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Internet Settings\WinHttp\DefaultSecureProtocols = (DWORD): 0xAA0
-
Restart both: Netwrix Auditor and the target server(s).