Configuration

Certificates

Under "System > Trust > Certificates" for GUI. For automated deployment, consider this link, reproduced below. Notably:

opnsense:
  cert:
    refid: (hex)
    descr: (cleartext)
    cert: (PEM + base64)
    prv: (PEM + base64)
  system:
    webgui:
      ssl-certref: (hex)

Sample script for automated deployment

Manual restart of the web GUI using:

root:~# /usr/local/sbin/pluginctl webgui restart

Install vim:

root:~# pkg install vim
root:~# vim /var/unbound/host_entries.conf