Kopia Auto-Generated TLS Certificate

HI,

my simple idea :slight_smile:

1.win client —> backup to the kopia server

2.Kopia server in the same lan (of 1.) with a repository in a docker container.

webui of kopia server load fine BUT is not in https.

and windows client NEED a https://IP:port

so reading : Repository Server | Kopia

at the prompt in the kopia container (bash)

KOPIA_PASSWORD="<password-for-the-repository>" \
KOPIA_SERVER_CONTROL_PASSWORD="<server-control-password>" \
  kopia server start \
    --tls-generate-cert \
    --tls-cert-file ~/my.cert \
    --tls-key-file ~/my.key \
    --address 0.0.0.0:51515 \
    --server-control-username control

in the docker-compose KOPIA_SERVER_CONTROL_PASSWORD=is set as of course.

Server will allow connections from users whose accounts are stored in the repository.
User accounts can be added using ‘kopia server user add’.

even I added an new user how to use it ?

ERROR listen error: listen tcp 0.0.0.0:51515: bind: address already in use

I need to stop the server ??
Someone can put me in the right direction ?

Thank you.

A little update:

got the ~~https~~ BUT :slight_smile:
I am not able to add a repository :
Connect Error: INTERNAL: internal server error: connect error: error opening repository: error connecting to API server: 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: cannot validate certificate for because it doesn’t contain any IP SANs”