mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-25 17:25:57 +03:00
[GH-ISSUE #142] Can't enable HTTPS (error while setting tls.certs) #70
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#70
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 @EnriqCG on GitHub (Aug 17, 2018).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/142
Good day. I'm having some issues setting up HTTPS while testing bitwarden_rs on a VM.
I'm running
where the certificate + privkey are placed in
/home/ubuntu/certs.The container does not start correctly and when retrieving logs this is the error
I've tried several things, including permissions, relative and absolute paths, etc. I don't know what is causing this.
Thanks for your time.
@mprasil commented on GitHub (Aug 17, 2018):
Hi, when you run docker with this parameter:
You're mapping
/home/ubuntu/bitwarden-rs/ssl/on your server to/ssl/in the container. TheROCKET_TLSneeds to point to the files inside your container, not where they are on the server. (bitwarden_rsobviously can't see files outside the container)So most likely you just need to set the variable to something like this:
And make sure the volume mapping is correct. From what you provided, it should be:
(I'm assuming your certs are stored in
/home/ubuntu/certs/directory on your server.)@mprasil commented on GitHub (Aug 17, 2018):
@EnriqCG I'm going to close this, feel free to re-open if you still have issues with getting it working.