Bitwarden bw cli für Zugriff auf self-hosted Umgebung mit self-signed Zertifikaten konfigurieren

Aus Laub-Home.de Wiki
Zur Navigation springen Zur Suche springen

https://bitwarden.com/help/article/cli/


(hier am Beispiel installiert via NPM)

# check bitwarden cli status
bw status

# set bw cli server
bw config server=https://localserver.localdomain

# if bw is installed via npm and because bw requires https
# add self-signed cert to node env
# https://github.com/bitwarden/cli/issues/9
export NODE_EXTRA_CA_CERTS=/path/to/cert/localserver.localdomain.crt

# check if env export worked
echo $NODE_EXTRA_CA_CERTS

# check bw cli status again, new server should be set
bw status

# login with existing bw user
bw login some.mail@localhost