MrMEEE / bitwarden_rs_rpm

20 stars 2 forks source link

Can not start bitwarden_rs after set ROCKET_TLS #7

Closed oBoMBaYo closed 4 years ago

oBoMBaYo commented 4 years ago

Got the below error. If I removed (commented) ROCKET_TLS variable. it works fine.

[2020-02-03 15:37:39][rocket::config::error][ERROR] environment variable ROCKET_TLS={certs="/opt/bitwarden_rs/web/SSL/wildcard.xxxxx.local.pem",key="/opt/bitwarden_rs/web/SSL/wildcard.xxxxx.local.pem"} could not be parsed

The configuration file:

ROCKET_TLS={certs="/opt/bitwarden_rs/web/SSL/wildcard.xxxxx.local.pem",key="/opt/bitwarden_rs/web/SSL/wildcard.xxxxx.local.pem"}

The PEM file has both certs & key.

ll /opt/bitwarden_rs/web/SSL/wildcard.xxxxx.local.pem -r--r--r-- 1 bitwarden bitwarden 8974 Feb 3 12:02 /opt/bitwarden_rs/web/SSL/wildcard.xxxxx.local.pem

oBoMBaYo commented 4 years ago

Fixed: I need to remove addtional info in the PEM file.