I figured it out, thanks to this article: https://blog.matrixpost.net/category/office-365/page/5/
My mistake was that when I installed the certificate on Edge for the SMTP service, I was replacing the original one.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello. I have three mailbox servers and one Edge.
The mailbox servers have a purchased wildcard certificate.
In EXO in the connector to send to my servers, I turned off TLS verification. The emails started coming from EXO.
But I cannot send to EXO from my local servers.
When I set up the hybrid configuration, Edge uses the certificate from the mailbox servers. But I get an error when I send email to EXO:
[{LED=451 4.4.395 Target host responded with error. -> 421 4.4.1 Connection timed out};{MSG=};{FQDN=resoleasing-mail-onmicrosoft-com.mail.protection.outlook.com};{IP=104.47.14.36};{LRT=16.09.2021 11:50
:19}]
Translated with www.DeepL.com/Translator (free version)
I figured it out, thanks to this article: https://blog.matrixpost.net/category/office-365/page/5/
My mistake was that when I installed the certificate on Edge for the SMTP service, I was replacing the original one.
What's your on-prem Exchange server version? Like you said, your issue is related to your certificate does not have a private key.
And the two links discussed about the similar issue as yours:
Certificate error in Edge Transport server in Hybrid Environment
EXCHANGE HYBRID TLS NEGOTIATION FAILED WITH ERROR NOCREDENTIALS
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
Try the solution below to fix your issue:
1) Set selfsigned cert as default for SMTP. Subscribe Edge.
2) Set wildcard cert as SMTP cert. Assign TlsCertificateName to receive connector.
$cert = Get-ExchangeCertificate -Thumbprint <3rd party cert thumbprint>
$tlscertificatename = "<i>$($cert.Issuer)<s>$($cert.Subject)"
Set-ReceiveConnector "EDGE SERVER\Default internal receive connector EDGE SERVER" -TlsCertificateName $tlscertificatename
3) restart transport service
4) check certificate in use from internet:
openssl s_client -connect edge.contoso.com:25 -starttls smtp
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.