How to replace SSL cert with a valid one?

Is there any info on how to replace the SSL cert? I tried to replace the one in /etc/kvmd/nginx/ssl/ however it seems a new one was regenerated after a reboot, deleting my changes.

@minmie Can a long-term and effective approach be provided?

In version 1.4.0, we will change the certificate storage location to /etc/kvmd/user/ssl.And wouldn't regenerated again