mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-07-17 01:12:27 -05:00
[PR #4385] [CLOSED] Finer SMTP TLS certificate control #32445
Reference in New Issue
Block a user
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?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/4385
Author: @JosefSchoenberger
Created: 2/27/2024
Status: ❌ Closed
Base:
main← Head:main📝 Commits (2)
4f5884dAdd config for additional SMTP TLS root certs8399c54Add config to disable system root cert store📊 Changes
3 files changed (+43 additions, -1 deletions)
View changed files
📝
.env.template(+7 -0)📝
src/config.rs(+28 -0)📝
src/mail.rs(+8 -1)📄 Description
This PR adds two new SMTP configurations regarding TLS:
SMTP_ADDITIONAL_ROOT_CERTSallows an admin to add new root certificates that Vaultwarden accepts for the SMTP server. This can be useful if the SMTP server only offers a self-signed certificate. Example:SMTP_ADDITIONAL_ROOT_CERTS=/etc/ssl/certs/mail1.pem;/etc/ssl/certs/mail2.pemSMTP_USE_SYSTEM_ROOT_CERTSdisables the system's root certificate store for TLS. This can be used in combination withSMTP_ADDITIONAL_ROOT_CERTSfor certificate pinning.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.