How to customize certificates?

Hello,

I am trying to customize the certificate used in the Gui, nodered and flashmq. I have generated my certificate and key but they are regularly overwritten at reboot.

If I modify directly the files /data/etc/ssl/venus.local.crt and venus/local.key, they get overwritten back to default after one or two reboots. Fair enough.

Now, I create files /data/etc/ssl/my_cert.pem and my_key.pem and modify files /etc/nginx/sites-availables/https.site, node-red and /etc/flashmq/flashmq.conf. My customed named files are also overwritten with default values after reboot ! That is vicious.

Now, first question, why this behavior ? Second one, what is the proper way to set custom certificates in Venus OS ?

Thanks for your lights on this,

Lucien