mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
1.33.2 cant read tls file properperly on docker #2234
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?
Originally created by @stjacob on GitHub (Apr 8, 2025).
Vaultwarden Support String
docker config:
start log:
So it missed the root slash. But the same config works well in old version like 1.32.7.
Vaultwarden Build Version
1.33.2
Deployment method
Official Container Image
Custom deployment method
No response
Reverse Proxy
yes
Host/Server Operating System
Linux
Operating System Version
No response
Clients
Web Vault
Client Version
No response
Steps To Reproduce
Expected Result
tls config works well
Actual Result
can not find the tls file due to config read error
Logs
Screenshots or Videos
No response
Additional Context
No response
@BlackDex commented on GitHub (Apr 8, 2025):
Did you missed the root slash? Like in you didn't added it? Or entered with the root slash, but it shows it without?
And what is your docker config? Are you sure the file is loaded?
Since technically, Vaultwarden it self is in root and without the slash should be ok in those cases.
@stjacob commented on GitHub (Apr 8, 2025):
the docker config has the root slash:
{certs="/ssl/SSLcertificate.crt",key="/ssl/SSLprivatekey.key"}
And most importly, the same config works well on version 1.32.7
@BlackDex commented on GitHub (Apr 8, 2025):
Could you provide your docker config? Since that error states the file doesn't exits.
Having the docker config helps me try to mimic the same environment.
Also, ensure the files are still there, and have the correct rights, like they have read access for the container user for example.
@stjacob commented on GitHub (Apr 8, 2025):
error msg:
[NOTICE] You are using a plain text
ADMIN_TOKENwhich is insecure.Please generate a secure Argon2 PHC string by using
vaultwarden hashorargon2.See: https://github.com/dani-garcia/vaultwarden/wiki/Enabling-admin-page#secure-the-admin_token
Error: Rocket.
[CAUSE] Io(
Custom {
kind: NotFound,
error: "error reading TLS file
ssl/SSLcertificate.crt: No such file or directory (os error 2)",},
)