|
| 1 | +# The `nutauth.conf` file conveys information needed for NUT clients to |
| 2 | +# authenticate themselves to a NUT data server, as well as to validate |
| 3 | +# that this is a server they want to trust (when SSL/TLS mode is used). |
| 4 | +# |
| 5 | +# By default, these files are located in either a per-user location like |
| 6 | +# `${HOME}/.config/nut/nutauth.conf` or `${HOME}/.nutauth.conf`, or a |
| 7 | +# site default `${NUT_CONFDIR}/nutauth.conf` (whichever is found first). |
| 8 | +# Such a file may `INCLUDE` further configurations (e.g. hop from a |
| 9 | +# per-user file to load server-wide defaults) if desired. |
| 10 | +# |
| 11 | +# While it usually suffices to have one client certificate for all servers, |
| 12 | +# it may be that some remote system owned/managed by a different department |
| 13 | +# would insist on *themselves* issuing (and revoking) certificates for their |
| 14 | +# equipment. In this case, you can specify connection-specific settings. |
| 15 | + |
| 16 | +# Example contents: |
| 17 | +# |
| 18 | +# # Global section, inherited and overridden per line by others: |
| 19 | +# CERTPATH = @CONFPATH@/certs/client |
| 20 | +# # CERTFILE is only relevant for OpenSSL: |
| 21 | +# CERTFILE = @CONFPATH@/certs/client/nut-client-hostname.pem |
| 22 | +# CERTIDENT_NAME = "NUT Client" |
| 23 | +# CERTIDENT_PASS = "KeyP@$$phrase!" |
| 24 | +# CERTVERIFY = 1 |
| 25 | +# FORCESSL = -1 |
| 26 | +# |
| 27 | +# [@localhost] |
| 28 | +# USER = "admin" |
| 29 | +# PASS = "Adm1n!Pass" |
| 30 | +# |
| 31 | +# [upsmonuser@localhost] |
| 32 | +# PASS = "monitor" |
| 33 | +# # Note you can not override USER in this context, |
| 34 | +# # where it is part of section name |
| 35 | +# |
| 36 | +# [@remote-host:34935] |
| 37 | +# USER = "other-user" |
| 38 | +# PASS = "other_pass" |
| 39 | +# CERTPATH = @CONFPATH@/certs/client-for-remote-host |
| 40 | +# CERTIDENT_NAME = "NUT Client for remote host" |
| 41 | +# CERTIDENT_PASS = "C00lP@$$" |
| 42 | +# CERTVERIFY = 1 |
| 43 | +# FORCESSL = 1 |
0 commit comments