This may help: https://forum.opnsense.org/index.php?topic=19305.0
Use nginx and lets encrypt.https://wiki.slemoal.fr/index.php/OPNSense_os-acme-clientAndhttps://wiki.slemoal.fr/index.php/OPNSense_NGINX