Node wizard fails because certificate is already uptodate

If iam using node wizard on a reinstalled host, iam getting:

Please specify the request ticket generated on your Icinga 2 master.
 (Hint: # icinga2 pki ticket --cn 'somehost'): e2596c44646e0a7688ba6586e9e5c7a5
information/cli: Requesting certificate with ticket 'e2596c44646e0a7688ba6586e9e5c7a5'.

information/cli: Created backup file '/etc/icinga2/pki/somehost.crt.orig'.
critical/cli: The certificate for CN 'somehost' is valid and uptodate. Skipping automated renewal.
critical/cli: Failed to fetch signed certificate from master 'anotherhost, 5665'. Please try again.
Please specify the request ticket generated on your Icinga 2 master.
[... endless loop incoming ...]

It also creates a backup file, even the pki folder was empty before i started the wizard.
How can i get rid of that, without configuring the agent manually?

Looks like its a bug which is fixed in the upcoming release.

1 Like