I have an project (Angular and .Net Core 6) that has email confirmation enabled with ssl that does not work anymore on new deployment server (Windows server 2019 with TLS 1.2 and disabled outdated Cipher suits and Client/Server protocols ) .
Used SMTP works fine in a powerShell Test script, there should not be any issues on port or firewall settings on Server side.
Development and test environments everything works fine, when deployed to the server there is an error:
System.Net.Mail.SmtpException: Failure sending mail. ---> System.Security.Authentication.AuthenticationException: Authentication failed because the remote party sent a TLS alert: 'HandshakeFailure'. ---> System.ComponentModel.Win32Exception (0x80090326): The message received was unexpected or badly formatted. --- End of inner exception stack trace ---
Server side code is the generated Radzen AuthController.CS without any customization.
Schannel settings server:
Has anyone else encountered this?