OPNsense Forum

Archive => 24.1, 24.4 Legacy Series => Topic started by: Rajstopy on April 24, 2024, 01:47:56 PM

Title: Weird issue when deleting certificates authority
Post by: Rajstopy on April 24, 2024, 01:47:56 PM
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
Title: Re: Weird issue when deleting certificates authority
Post by: 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
Title: Re: Weird issue when deleting certificates authority
Post by: Rajstopy on April 25, 2024, 10:51:56 AM
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
Title: Re: Weird issue when deleting certificates authority
Post by: franco on April 25, 2024, 02:59:52 PM
Can you try to reproduce? It's a bit odd.


Cheers,
Franco