mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[GH-ISSUE #6558] SMTP fails to send mail when mail server certificate is signed with ecdsa-with-SHA512 #2469
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#2469
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Galaxy102 on GitHub (Dec 15, 2025).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/6558
Prerequisites
Vaultwarden Support String
Your environment (Generated via diagnostics page)
Config & Details (Generated via diagnostics page)
Show Config & Details
Config:
Vaultwarden Build Version
v1.34.3-57bdab15
Deployment method
Official Container Image
Custom deployment method
No response
Reverse Proxy
Træfik 3.2.3
Host/Server Operating System
Linux
Operating System Version
Ubuntu 22.04 LTS
Clients
Web Vault
Client Version
Chromium 143 Web Vault 2025.10.1 Pre-Release
Steps To Reproduce
The problem occurs everytime Vaultwarden tries to send an email.
e.g.
Expected Result
Email can be sent
Actual Result
No emails can be sent
Logs
Screenshots or Videos
No response
Additional Context
sslscan of the affected mail server: (Redacted server name and IP), I guess the issue is with the signature algorithm
ecdsa-with-SHA512.@dfunkt commented on GitHub (Dec 15, 2025):
I think this is due to the usage of
ringas the crypto provider forrustls, as far as I can see it doesn't support this particular combination.Would probably need to switch to
aws-lc-rsin order for this to work.Reference documentation:
https://github.com/rustls/rustls/issues/1367
https://github.com/rustls/rustls/pull/1706
https://github.com/briansmith/ring/pull/1631
@Galaxy102 commented on GitHub (Dec 15, 2025):
I can confirm that setting
SMTP_ACCEPT_INVALID_CERTS=trueallows me to send emails, but this is meh from a security perspective.