'tls_fingerprint' is empty, can't verify
$ schleuder-cli lists list
Error: 'tls_fingerprint' is empty, can't verify remote server without it (in /var/schleuder/.schleuder-cli/schleuder-cli.yml).
The schleuder-cli configuration file looked like this at the time:
$ cat schleuder-cli.yml
api:
host: localhost
port: 4443
use_tls: false
tls_fingerprint:
api_key:
As 'use_tls' was set to false it seems to be a bug.
I created a cert with
$ schleuder cert generate
Private key written to: /etc/schleuder/schleuder-private-key.pem
Certificate written to: /etc/schleuder/schleuder-certificate.pem
Fingerprint of generated certificate: <fingerprint>
Have this fingerprint included into the configuration-file of all clients that want to connect to your Schleuder API.
After I added the fingerprint to 'schleuder-cli.yml' it worked.