Connection lost: cannot add new certificate

Hi,
I installed IncusOS successfully on my framework Desktop. I was able to run a VM and some containers from an incus client running on my framework laptop. After some time I could not connect to my desktop any more: it did no longer connect to the network. Reinstalling the IncusOS did solve the issue.
In the browser I generate a new crt file, but
incus config trust add-certificate Downloads/incus-ui.crt
fails to install it. I get the error
Error: Get “https://192.168.2.71:8443/1.0”: tls: failed to verify certificate: x509: certificate is valid for 127.0.0.1, ::1, not 192.168.2.71

I’m still investigating the issues, but maybe you already know a solution.

Regards
Peter

Since you reinstalled the server, its certificate has changed, so you’ll need to remove and re-add the remote (incus remote remove and incus remote add).