mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-10 01:10:09 +03:00
OpenSSL detected, creating keys... data/rsa_key.pem: No such file or directory #1856
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 @brentl99 on GitHub.
I have built bitwarden_rs v2.10.1 with node v11.14.0 and mariadb 5.5 on CentOS 7 without docker.
When I startup bitwarden_rs I get the following error:
OpenSSL detected, creating keys... data/rsa_key.pem: No such file or directory
Can someone tell me where the "data" directory is, or is it supposed to be?
"openssl version -a" provides me with a OPENSSLDIR of "/etc/pki/tls" which does not have "data" in the path so I presume that bitwarden has the key path built in somewhere.
Thank you.
@brentl99 commented on GitHub:
Thank you, that addressed my issue. I just had to create the "data" directory within the current working directory.
@mqus commented on GitHub:
the
datadirectory is created in the directory from which you start bitwarden_rs (PWD). for example, if you start it in the console via callingwhile you are in the directory
/home/myuser, it will try to create it as/home/myuser/data(the location of the binary is not relevant). if bitwarden_rs doesn't have the neccessary rights to do so, it will fail in the manner you described.Afaik, this has nothing to do with openssl itself.