[rocket::config::error][ERROR] I/O error while setting tls.certs even when /ssl lists cert folders inside of container #1259
tangowithfoxtrot
started this conversation in
General
Replies: 2 comments
-
Same here 🤔 #1260 |
Beta Was this translation helpful? Give feedback.
0 replies
-
You mount the lets encrypt folder within the container to /ssl/ yet you configure the ssl certs as if they are on the host. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I cannot replace my official Bitwarden implementation with bitwarden_rs. I followed Bitwarden's installation guide and have a working setup with SSL through Letsencrypt. All of my configuration data is stored within /home/user/bwdata.
docker run -d --name bitwarden-rust -e ROCKET_TLS='{certs="/home/user/bwdata/letsencrypt/live/bw.domain.com/fullchain.pem",key="/home/user/bwdata/letsencrypt/live/bw.domain.com/privkey.pem"}' -v /home/user/bwdata/letsencrypt/:/ssl/ -v /home/user/bwdata/:/data/ -p 443:80 bitwardenrs/server:latest
This command immediately closes with the
[rocket::config::error][ERROR] I/O error while setting tls.certs:
error. If I connect to a terminal while it executes, running an ls on the /ssl folder lists my accounts, archive, csr, keys, live, logs, renewal, and renewal-hooks folder. Is this the correct mapping for the container? I've tried mapping alternative paths that are higher up or lower in the letsencrypt folder, but with no luck.Beta Was this translation helpful? Give feedback.
All reactions