© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3w ago•
2 replies
이현대

Supabase custom SMTP question: Custom SMTP STARTTLS handshake failure (DH 1024)

auth
Hey folks — quick question about Supabase Auth Custom SMTP TLS requirements.

I’m using:

Host: mail.w.mangofactory.co.kr

Port: 587

STARTTLS enabled

It works with some SMTP test clients, but fails only when Supabase Auth sends email with:

remote error: tls: handshake failure

OpenSSL repro:

Default (strict) fails:
openssl s_client -starttls smtp -connect mail.w.mangofactory.co.kr:587 -crlf
→ dh key too small (tls_process_ske_dhe)

If I lower security level, it succeeds:
openssl ... -cipher 'DEFAULT:@SECLEVEL=1'
→ Server Temp Key: DH, 1024 bits
→ cipher: DHE-RSA-AES256-GCM-SHA384

Question: Does Supabase’s SMTP client reject STARTTLS when the server negotiates DHE with 1024-bit DH params?
If yes, is there any Supabase-side setting to relax TLS, or is the only fix to update the SMTP server to DH >= 2048 / ECDHE?

I can paste full OpenSSL output if helpful.
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Custom SMTP
SupabaseSSupabase / help-and-questions
4y ago
can't connect custom smtp to supabase
SupabaseSSupabase / help-and-questions
3y ago
supabase cli & SMTP configs
SupabaseSSupabase / help-and-questions
4y ago
Supabase cant send email when Custom SMTP is Enabled
SupabaseSSupabase / help-and-questions
4mo ago