Weird issue when deleting certificates authority

Started by Rajstopy, April 24, 2024, 01:47:56 PM

Previous topic - Next topic
Dear all,

I manage dozen of IPs and I use OPNSense to sign all my internal certificates. 

I noticed a very weird thing and I would like to understand what happened. I just need to understand if I'm doing something wrong or if this may be a bug.

I created an authority certificate named Internal Reunion CA. At expiration, I created a new authority certification named Internal Reunion CA 2023. Il also create another certificate used for my backup system Bacula. Today I decided to delete the old Internal Reunion CA authority because outdated and no more used at all. What a surprise when I noticed that ONPSense also deleted all the other certificates. Thanks to the configuration history I was able to restore all that stuff, but I don't understand why and how this could happen? Of course each of those cert have been created using the GUI -> Create an internal Certificate Authority.

Any idea ???

Running OPNSense 24.1.6


It seems my issue slightly differs from what is explained in that thread. To sum up, I create an Authority Certificate #1, another Authority Certificate #2 and #3. When I delete Authority Certificate #1, #2 and #3 are gone...  :-\


Quote from: franco on April 24, 2024, 02:20:44 PM
This was reported and fixed in time for 24.1 I believe? https://github.com/opnsense/core/issues/7088


Cheers,
Franco

Can you try to reproduce? It's a bit odd.


Cheers,
Franco