Apologies for the delayed response.
I was trying to find a method to both create and subsequently remove an expired certificate while multitasking on another matter that required my attention.
Regrettably, currently, there is no option available to remove an expired certificate; you can only add one.
Rest assured, we will investigate this issue and work on enhancing the functionality as per the requests of our loyal users.