Replace QNAP's SSL Certificate & Private Key programmatically
I’ve been trying to setting up DDNS for my QNAP NAS with SSL connection. I don’t want to use the QNAP Cloudlink DDNS service because I wanted to use QVPN service to globally gate all traffic going out from QNAP. And that disables the QNAP Cloudlink service from getting the real IP address for my NAS. The basic logic goes along this tutorial: How to set up a free dynamic hostname with SSL cert using Google Domains, except the following moving parts: