Wrong Certificate used

All,

I have created a new certificate on the RUT240 itself and assigned it as root CA. When downloading the ROOT CA is shows a valid certificate.

While browsing to my router, it still shows the Teltonika certificate, why?

This is what fire showned:

Further looking, it seems that this certificate already expired on June 13th 2021.

What can I do? How can I correct this?

I was able to correct this, by downloading the PEM files for the certificate and key file end replace the uhttpd.key and uhttpd.crt by the one I downloaded.

Only the browser(s) does not accept these certificates because they self-signed and not provided by a global certificate complany like rs like DigiCert, Sectigo (formerly Comodo), GeoTrust, and Thawte.