Passing custom certs to kopia

I have a minio setup with self-signed certs, how do I use self signed cert from the kopia client?
From the docs, i see the following but

  1. Don’t we need to pass certificates when creating a repository?
  2. In the below connect I see an option called server but in my case, I want to connect to s3 with bucket+prefix combination, how do I do it?
kopia repository connect server --url https://<address>:51515 \
  --server-cert-fingerprint 48537cce585fed39fb26c639eb8ef38143592ba4b4e7677a84a31916398d40f7