mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-09 09:13:02 +03:00
SSL: Could not be Parsed #1704
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 @ASPI259 on GitHub.
Hi,
i followed this guide: https://github.com/dani-garcia/bitwarden_rs/wiki/Private-CA-and-self-signed-certs-that-work-with-Chrome
and createt the Certificates in the Dictionary: /var/lib/docker/volumes/ssl
This i passed through to the Container but i cant start the container.
Log shows: .... could not be parsed...
any tips?
@Link009 commented on GitHub:
Take a look here: https://lucians.dev/solve-bitwardenrs-this-subtle-is-null-error
Is bitwarden.crt formatted corectly ? Also, what are you trying to achieve ? Enable SSL or create a self signed certificate ?
The link I posted is for the first issue.
@vszakats commented on GitHub:
Had this error when trying to use an ECC certificate. It's a misleading message as the setting was correctly formatted and the files were in their correct location. Replacing them with RSA keys made the error go away.
Ref: https://github.com/dani-garcia/bitwarden_rs/issues/1205 [Have a plan to support ECC certificates?]
@BlackDex commented on GitHub:
Closing this ticket because of inactivity.
Feel free to continue this discussion on the forum: https://bitwardenrs.discourse.group/
We suggest to use a reverse-proxy for ssl-offloading, because reverse proxy are better in handling SSL.
Also checkout some of the updated/new wiki articles:
https://github.com/dani-garcia/bitwarden_rs/wiki/Enabling-HTTPS
https://github.com/dani-garcia/bitwarden_rs/wiki/Running-a-private-bitwarden_rs-instance-with-Let%27s-Encrypt-certs
https://github.com/dani-garcia/bitwarden_rs/wiki/Private-CA-and-self-signed-certs-that-work-with-Chrome
@ASPI259 commented on GitHub:
Exact Log:
Logger failed to initialize: attempted to set a logger after the logging system was already initialized
[2020-05-21 19:35:45][rocket::config::error][ERROR] environment variable ROCKET_TLS={certs="/ssl/bitwarden/bitwarden.crt",key="/ssl/bitwarden/bitwarden.key" could not be parsed
ROCKET_TLS='{certs="/ssl/bitwarden/bitwarden.crt",key="/ssl/bitwarden/bitwarden.key"}'
Volume:
/var/lib/docker/volumes/ssl:/ssl
@drkeni9ma commented on GitHub:
Did you create it in your docker container? If so, I suggest you create your cert and key files in the host machine
host:container