Solved Enable KTLS support on boot?

On the nginx website, it says I need to do the following to enable KTLS :

Code:
# kldload ktls ocf
# sysctl kern.ipc.tls.enable=1

Which works, but how do I enable KTLS at boot time?
 
Code:
# kldload ktls ocf
# sysctl kern.ipc.tls.enable=1
Which works,
Are you sure loading kernel modules ktls and ocf does work? ktls(4) was introduced in 13.0 (see manuals HISTORY) and there is only one kernel module: /boot/kernel/ktls_ocf.ko

Note, in CURRENT (main): "The KTLS OCF support is now always included in kernels with KERN_TLS and the ktls_ocf.ko module has been removed."


how do I enable KTLS at boot time?
To load the module, set in /etc/rc.conf
Code:
kld_list="ktls_ocf"

and to set the kernel state kern.ipc.tls.enable=1 permanently, put it in /etc/sysctl.conf.
 
Back
Top