Hi Carlos,
On Mon, 6 Oct 2025, Carlos Pasqualini wrote:
> I forgot to renew my cluster's certificates, and found that they had been
> outdated on Sept 25...
>
> Our cluster is using debian's bullseye system on all (4 four) nodes
That should be Ganeti-3.0.2, right?
> I tried as documentation, with gnt-cluster cert-renew ... seems without
> success
> (fails because 1811 needs valid handshake, will fail because i don't have
> any valid certs)
The man page for gnt-cluster lists the following command (not cert-renew):
$ gnt-cluster renew-crypto --new-cluster-certificate --new-node-certificates
But in the end, it first tries to talk to ganeti, before "This command
will stop all Ganeti daemons in the cluster and start them again once the
new certificates and keys are replicated".
> then tried manually, with openssl, more or less same result
There is an very old wiki regarding SSL[1], mentioning even without SSL.
Please not the typo -> ssconf_master_candidate_certs should be
ssconf_master_candidates_certs.
I quickly tested running without SSL, which seems to work far enough to
run "gnt-cluster renew-crypto".
There is also the "faketime" package, which you can use to turn back time
selectively for the ganeti daemons. In /etc/init.d/ganeti, start_action()
add:
faketime -f -30d $DAEMON_UTIL start "$@"
HTH, Sascha.
[1]
https://github.com/ganeti/ganeti/wiki/Ganeti-and-SSL#run-ganeti-without-client-certificates