I’m new to Kopia.
Trying to setup a repo server on a home server to backup family laptops.
Successfully created repository, added users, and started server as:
kopia server start \
--tls-generate-cert \
--tls-cert-file ~/my.cert \
--tls-key-file ~/my.key \
--address="http://0.0.0.0:51515" \
--server-username=ABC \
--server-password=ABC
I get an error when I try to connect to server from my laptop (on the same LAN):
$ kopia repository connect server --url=https://192.168.X.Y:51515 --override-username=user --override-hostname=host
Connecting to server 'https://192.168.X.Y:51515' as 'user@host'...
Enter password to open repository:
ERROR failed to open repository: unable to establish session for purpose=: error establishing session: Session(): rpc error: code = Unavailable desc = connection error: desc = "transport: authentication handshake failed: tls: failed to verify certificate: x509: certificate is valid for 127.0.0.1, not 192.168.X.Y"
What could I do to fix this? Please help.