kb:intranet:platforms:opnsense:configuration
Configuration
Certificates
Under "System > Trust > Certificates" for GUI. For automated deployment, consider this link, reproduced below. Notably:
- Certificates and private key (and the cert ID for use by Web GUI) are stored in the OPNsense configuration file
/conf/config.xml
. - These are stored in
<opnsense><cert>...</cert></opnsense>
field, with the corresponding subfields (written in YAML for clarity):
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
kb/intranet/platforms/opnsense/configuration.txt · Last modified: 3 weeks ago (28 December 2024) by justin