[PR #1046] [CLOSED] fix: issue 1045: TLS failures using self hosted email server #2865

Closed
opened 2026-03-03 09:08:41 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/1046
Author: @causalityloop
Created: 7/5/2020
Status: Closed

Base: masterHead: master


📝 Commits (1)

  • 888ff6a fix: issue 1045: TLS failures using self hosted email server

📊 Changes

2 files changed (+10 additions, -1 deletions)

View changed files

📝 docker/amd64/sqlite/Dockerfile (+3 -1)
docker/bootstrap.sh (+7 -0)

📄 Description

This is a fix for issue: https://github.com/dani-garcia/bitwarden_rs/issues/1045

bind mount the certs and run update-ca-certificates on container start

volumes:
      - ./data:/data
      - ./certs:/certs
      - ./certs/ABC123-Root-CA.crt:/usr/local/share/ca-certificates/ABC123-Root-CA.crt
      - ./certs/ABC123-Sub1-CA.crt:/usr/local/share/ca-certificates/ABC123-Sub1-CA.crt

Now the certs are scanned/added on container start and emails successfully flow

docker-compose logs -f

Attaching to bitwardenrs
bitwardenrs  | Updating certificates in /etc/ssl/certs...
bitwardenrs  | 2 added, 0 removed; done.
bitwardenrs  | Running hooks in /etc/ca-certificates/update.d...
bitwardenrs  | done.
bitwardenrs  | /--------------------------------------------------------------------\
bitwardenrs  | |                       Starting Bitwarden_RS                        |
bitwardenrs  | |                      Version 1.15.1-596c9b86                       |
bitwardenrs  | |--------------------------------------------------------------------|
bitwardenrs  | | This is an *unofficial* Bitwarden implementation, DO NOT use the   |
bitwardenrs  | | official channels to report bugs/features, regardless of client.   |
bitwardenrs  | | Send usage/configuration questions or feature requests to:         |
bitwardenrs  | |   https://bitwardenrs.discourse.group/                             |
bitwardenrs  | | Report suspected bugs/issues in the software itself at:            |
bitwardenrs  | |   https://github.com/dani-garcia/bitwarden_rs/issues/new           |
bitwardenrs  | \--------------------------------------------------------------------/

image


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dani-garcia/vaultwarden/pull/1046 **Author:** [@causalityloop](https://github.com/causalityloop) **Created:** 7/5/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`888ff6a`](https://github.com/dani-garcia/vaultwarden/commit/888ff6a9732bf5c4766d36b189d88187b9b867e2) fix: issue 1045: TLS failures using self hosted email server ### 📊 Changes **2 files changed** (+10 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docker/amd64/sqlite/Dockerfile` (+3 -1) ➕ `docker/bootstrap.sh` (+7 -0) </details> ### 📄 Description This is a fix for issue: https://github.com/dani-garcia/bitwarden_rs/issues/1045 bind mount the certs and run update-ca-certificates on container start ``` volumes: - ./data:/data - ./certs:/certs - ./certs/ABC123-Root-CA.crt:/usr/local/share/ca-certificates/ABC123-Root-CA.crt - ./certs/ABC123-Sub1-CA.crt:/usr/local/share/ca-certificates/ABC123-Sub1-CA.crt ``` Now the certs are scanned/added on container start and emails successfully flow ``` docker-compose logs -f Attaching to bitwardenrs bitwardenrs | Updating certificates in /etc/ssl/certs... bitwardenrs | 2 added, 0 removed; done. bitwardenrs | Running hooks in /etc/ca-certificates/update.d... bitwardenrs | done. bitwardenrs | /--------------------------------------------------------------------\ bitwardenrs | | Starting Bitwarden_RS | bitwardenrs | | Version 1.15.1-596c9b86 | bitwardenrs | |--------------------------------------------------------------------| bitwardenrs | | This is an *unofficial* Bitwarden implementation, DO NOT use the | bitwardenrs | | official channels to report bugs/features, regardless of client. | bitwardenrs | | Send usage/configuration questions or feature requests to: | bitwardenrs | | https://bitwardenrs.discourse.group/ | bitwardenrs | | Report suspected bugs/issues in the software itself at: | bitwardenrs | | https://github.com/dani-garcia/bitwarden_rs/issues/new | bitwardenrs | \--------------------------------------------------------------------/ ``` ![image](https://user-images.githubusercontent.com/46820823/86538751-e5b68400-bec5-11ea-8171-42172fa6a2b5.png) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 09:08:41 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#2865
No description provided.