cd ~/certificateschmod u+x mkcert
./mkcert -help
mkcert homeassistant 192.168.1.2
homeassistant-key.pem and homeassistant.pem
./mkcert -CAROOT
~/local/usr/share/mkcert
rootCA.pemrootCA-key.pem
./mkcert -install
rootCA-key.pemrootCA.pemhomeassistant.pem
rootCA-key.pemhomeassistant.pem