How to create wildcard certificate the right way to use for home so that you wouldn't get the not trusted thingy for your site.
Use my script on https://github.com/jlim0930/scripts/blob/master/wildcard.sh to generate the CA,CA key, & the certificate.
Use the certificate to encrypt your devices and sites like synology,esxi,others and import the CA into your computer so that it will verify the cert!
enjoy!