# Test email settings fails with self-signed certificate

**URL:** <https://forum.manager.io/t/test-email-settings-fails-with-self-signed-certificate/35102>\
**Category:** Uncategorized\
**Created:** [May 22, 2021, 3:19am UTC](https://forum.manager.io/t/test-email-settings-fails-with-self-signed-certificate/35102 "2021-05-22T03:19:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![juliejohn](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@juliejohn](https://forum.manager.io/u/juliejohn)\
**Post date:** [May 22, 2021, 3:19am UTC](https://forum.manager.io/t/test-email-settings-fails-with-self-signed-certificate/35102/1 "2021-05-22T03:19:44Z")

</div>

Hello,  
Our email test fails with Manager version 21.3.40, it doesn’t like our self-signed certificate.  
I use this email server daily, and when I set up Thunderbird to connect, I did have to accept the certificate. I was hoping that Manager would provide the same exception to allow it. But instead it just fails. Changing the certificate isn’t really an option at this point, as this email server is used by many different people daily, and if I changed it to a new self-signed cert, every person using this server would have to take an action to make email work again.

Is there a way to get Manager to accept this certificate?  
Thank you for the awesome program!  
Julie

OpenSuse Tumbleweed  
Manager is AppImage 64-bit for Suse  
Port is 587, same as Thunderbird’s settings

```
System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch, RemoteCertificateChainErrors
   at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
   at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
   at System.Net.Security.SslStream.ProcessAuthentication(Boolean isAsync, Boolean isApm, CancellationToken cancellationToken)
   at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
   at System.Net.Security.SslStream.AuthenticateAsClient(String targetHost, X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation)
   at System.Net.TlsStream.AuthenticateAsClient()
   at System.Net.Mail.SmtpConnection.GetConnection(String host, Int32 port)
   at System.Net.Mail.SmtpTransport.GetConnection(String host, Int32 port)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at ManagerServer.HttpHandlers.Businesses.Business.Settings.EmailSettings.EmailTest.Post() in C:\projects\manager\ManagerServer\HttpHandlers\Businesses\Business\Settings\EmailSettings\EmailTest.cs:line 86
   at ManagerServer.Startup.<>c.<b__1_1>d.MoveNext() in C:\projects\manager\ManagerServer\Startup.cs:line 89
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)

```

---

<div class="post-metadata">

**Author:** ![lubos](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/lubos/32/62798_2.png) [@lubos](https://forum.manager.io/u/lubos)\
**Post date:** [May 22, 2021, 6:23am UTC](https://forum.manager.io/t/test-email-settings-fails-with-self-signed-certificate/35102/2 "2021-05-22T06:23:34Z")

</div>

Currently, self-signed certificates are not supported.

Until this is implemented, I recommend to use 3rd-party mail server such as [mailgun.com](http://mailgun.com)

---

<div class="post-metadata">

**Author:** ![lubos](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/lubos/32/62798_2.png) [@lubos](https://forum.manager.io/u/lubos)\
**Post date:** [July 1, 2022, 3:20am UTC](https://forum.manager.io/t/test-email-settings-fails-with-self-signed-certificate/35102/3 "2022-07-01T03:20:39Z")

</div>

Added to the latest version (22.7.1)

On email settings form, there is now new checkbox.

![image](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/5/c/5c1928502e5283ac20241b86218da9d09740d4f1.png)

---

<div class="post-metadata">

**Author:** ![Ealfardan](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/ealfardan/32/63166_2.png) [@Ealfardan](https://forum.manager.io/u/Ealfardan)\
**Post date:** [July 5, 2026, 8:12pm UTC](https://forum.manager.io/t/test-email-settings-fails-with-self-signed-certificate/35102/4 "2026-07-05T20:12:55Z")

</div>

Closed on July 5, 2026, 8:12pm UTC

Uncategorized topics older than 3 years with no recent activity
