IncusOS - Updated server certificate breaks sync with Operations Center

Hallo :waving_hand:

I updated the server certificate on my IncusOS host to reflect the hostname along with the IPs.
The host was synced (provisioned) by Operations Center and now, that sync is broken since the certificate no longer match.

I know for a fact that once an IncusOS host is synced to an Operations Center, it cannot be changed: Deregistering from an Operations Center - #3 by stgraber

That being said, how should I proceed without having to reinstall the host ?

Cheers !

Hi, unfortunately this is a known gap: Operations Center cannot handle server certificate changes after provisioning yet. There is an open issue in the operations-center GitHub repo, #161 “Handle automated cluster certificate updates” (open since July 2025), which lists exactly your scenario - a server provisioned with one certificate that later gets replaced. Combined with stgraber’s point you already found (a synced host cannot be re-registered), there is currently no supported way to restore the sync without re-provisioning the host. Watching issue #161 is probably the best way to catch a proper fix when it lands.

Did you update with your own certificate? I updated the ACME certificate for my incus cluster with a different domain, and it was picked fine by the operations center.

I use an internal PKI for internal certificates with a “private” domain so Acme can’t be used in this scenario.

I went ahead and did the backup/restore fancy footwork

Related to this, everything went fine. Updated both IncusOS and Operations Center SSL certificates.

One thing I can’t explain myself is; when I rejoin the IncusOS host to Operations Center, a new certificate is being added to the fallback listener and trust store which is still the self-signed LinuxContainers certificate. Where does this one comes from ?

That’s the client certificate of Operations Center.

Is there a way to change it as well ?

Not easily, it’s generally assumed to be an internal implementation detail. You can technically change it by using a backup/restore cycle, replacing it in the backup file in between.

If running Operations Center in an Incus VM, you could also configure Incus to allow incus exec into the VM, then can change it at /var/lib/operations-center/.

Thank you as usual @stgraber !