mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-14 02:22:03 +08:00
optional-certificate was renamed to certificate[optional]
This commit is contained in:
+6
-2
@@ -78,9 +78,13 @@ An example configuration file follows.
|
||||
# multiple auth directives. Available options: certificate, optional-certificate,
|
||||
# plain, pam.
|
||||
#auth = "certificate"
|
||||
#auth = "optional-certificate"
|
||||
#auth = "pam"
|
||||
|
||||
# This indicates that a user may present a certificate. When that option
|
||||
# is set, individual users or user groups can be forced to present a valid
|
||||
# certificate by using "require-cert=true".
|
||||
#auth = "certificate[optional]"
|
||||
|
||||
# The gid-min option is used by auto-select-group option, in order to
|
||||
# select the minimum valid group ID.
|
||||
#auth = "pam[gid-min=1000]"
|
||||
@@ -416,7 +420,7 @@ route = 192.168.5.0/255.255.255.0
|
||||
#default-group-config = /etc/ocserv/defaults/group.conf
|
||||
|
||||
# This option is only valid in a user/group configuration file. If the
|
||||
# auth mode is optional-certificate, it requires a certificate for this
|
||||
# auth mode is certificate[optional], it requires a certificate for this
|
||||
# particular user or group.
|
||||
#require-cert = true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user