System crash/unresponsiveness after deleting default self-signed certificate

Hi everyone,

I encountered a strange issue today. The system displayed the following warning:

“Certificate named “default” is going to expire in less than a month. Please update this certificate in Certificate Manager.”

In my Certificate Manager, there was two certificates installed:

  • A self-signed certificate named "default"
  • A commercial certificate named "baltberegComTo07122026" (this one is marked with the green checkmark as Default)

To fix the warning, I did the following:

  1. Created a new self-signed certificate.
  2. Deleted the old, expiring self-signed certificate.
  3. Clicked Apply Config.

Immediately after this, the FreePBX web GUI became completely unresponsive. Additionally, all SIP phones lost registration and could no longer connect (we are using standard SIP UDP as the transport).

The issue was only resolved by running fwconsole restart via SSH, during which Asterisk failed to stop gracefully and had to be killed by timeout.

Note: I have manually checked and verified that this old self-signed certificate was not selected for apache HTTPS setup nor in Asterisk SIP Settings.

So I have a few questions:

  1. Why did this happen? If the commercial certificate was already marked as “Default”, why did deleting an unused self-signed certificate crash the web GUI and the Asterisk core?
  2. Where else could this self-signed certificate be hardcoded or used behind the scenes?
  3. What is the correct procedure to update or rotate this default self-signed certificate without breaking the system?

And interestingly, even though the certificate named “default” has been completely deleted from the Certificate Manager, the warning notification is still actively hanging in the FreePBX dashboard, telling me to update it.

I’m using FreePBX 17.0.33, Asterisk 22.8.2

Is the signing certificate installed in the browser?

Also, is the signing certificate the same as the working certificate? (People use self signed loosely, but all root CA certificates are self signed, even the commercial ones, and what people normally mean is that they have a private root CA, which is used to sign the actual certificate used in the server.)

As you are using UDP transport, the certificate will be irrelevant to the minute to minute operation of Asterisk.

Is the signing certificate installed in the browser?

No, because it’s not needed. For the FreePBX web GUI, we use the commercial certificate from Sectigo. Since Sectigo is a globally trusted root authority, the browser trusts it out of the box without installing any local signing certificates.

Is the signing certificate the same as the working certificate?

The commercial Sectigo certificate is completely independent and stands on its own. The deleted “default” certificate was just a basic, standalone self-signed certificate automatically generated by FreePBX during the initial installation. It was not a private root CA, and it was not used to sign the Sectigo certificate or any other certificates on the system.

As you are using UDP transport, the certificate will be irrelevant to the minute to minute operation of Asterisk.

Yes, I absolutely agree with you, and that is exactly why I am surprised and asking this question here.