Project

General

Profile

Actions

Bug #25563

open

We can't disable a node with a bad certificate anymore

Added by François ARMAND about 2 months ago. Updated 14 days ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Web - Nodes & inventories
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

We added a check to not be able to save a node with a bad certificate, but the side effect is that if we already had a node with a bad certificate, we can't disable it anymore:

The error is:

Error when saving the new node state <- CryptoEx: Key '-----BEGIN CERTIFICATE----- MIIFqDCCA5CgAwIBAgIUIb+ay
gIrV31P4GyU-XXXX -----END CERTIFICATE-----' cannot be parsed as a valid certificate; root exception was: unable to decode base64 string: invalid characters encountered in base64 data

We should not run the savePreChecks when disabling a node.


Files

clipboard-202409272130-ystnf.png (143 KB) clipboard-202409272130-ystnf.png François ARMAND, 2024-09-27 21:30

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #24815: Node with inventories with bad certificate still get into RudderReleasedVincent MEMBRÉActions
Actions

Also available in: Atom PDF