mirror of
https://github.com/openwrt/packages.git
synced 2026-10-14 09:56:47 +04:00
Expose the configuration knobs as UCI config for more SSL options. Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
55 lines
1.8 KiB
Plaintext
55 lines
1.8 KiB
Plaintext
#config driver_global 'driver_global'
|
|
|
|
# ### NOTE ###
|
|
# For USB UPSes it is necessary to properly configure
|
|
# productid and vendorid (and serial number if you have
|
|
# more than one device with the same productid and vendorid) in
|
|
# nut_server so that the hotplug script can give NUT
|
|
# permissions to access the UPS device(s)
|
|
|
|
# example USB UPS configuration
|
|
#config driver 'upsname'
|
|
# option driver usbhid-ups
|
|
# option port auto
|
|
# option productid 12ab # USB 4-digit hex productId
|
|
# option vendorid 34cd # USB 4-digit hex vendorId
|
|
|
|
# Configuration for UPS connected to serial-USB
|
|
# option enable_usb_serial 0
|
|
|
|
|
|
#config user
|
|
# option username upsuser
|
|
# option password upspassword
|
|
# option actions optional-action
|
|
# list instcmd optional-instant-command
|
|
# option upsmon secondary|primary
|
|
|
|
#config listen_address
|
|
# option address ::1 # example
|
|
# option port 3493 # compile-time default
|
|
|
|
# defaults for the upsd section are compile time defaults
|
|
# We only support one 'upsd' section and it must be named 'upsd'
|
|
#config upsd 'upsd'
|
|
# option maxage 15
|
|
# option statepath /var/run/nut
|
|
# option maxconn 1024
|
|
# option runas nut
|
|
# option interface_reload_delay 3000 # in milliseconds
|
|
# option triggerlist all # not configured by default
|
|
# option debug_min 0
|
|
# NB: certificates only apply to SSL-enabled version
|
|
# See https://github.com/networkupstools/nut/blob/master/docs/security.txt
|
|
# openssl server certificate chain and private key
|
|
# option certfile /usr/local/etc/upsd.pem
|
|
# NSS or OpenSSL
|
|
# For NSS path the directory with certificate and key databases
|
|
# For OpenSSL path a file with one or more CA certificates
|
|
# option certpath /etc/nut/cert_db
|
|
# Server certificate name and password to unlock the key for the certificate
|
|
# option certident '"certificate name" "database password"'
|
|
# 0 - NO, 1 - REQUEST, 2 - REQUIRE (and verify)
|
|
# option certrequest 0
|
|
# option disable_weak_ssl 0
|