mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
the default strings will enforce PFS
This commit is contained in:
@@ -139,11 +139,17 @@ server-key = ../tests/server-key.pem
|
||||
# The revocation list of the certificates issued by the 'ca-cert' above.
|
||||
#crl = /path/to/crl.pem
|
||||
|
||||
# GnuTLS priority string
|
||||
tls-priorities = "NORMAL:%SERVER_PRECEDENCE:%COMPAT:-VERS-SSL3.0:-ARCFOUR-128"
|
||||
# GnuTLS priority string; note that SSL 3.0 is disabled by default
|
||||
# as there are no openconnect (and possibly anyconnect clients) using
|
||||
# that protocol. The default string below enforces perfect forward secrecy (PFS)
|
||||
# on the main channel.
|
||||
tls-priorities = "NORMAL:%SERVER_PRECEDENCE:%COMPAT:-RSA:-VERS-SSL3.0:-ARCFOUR-128"
|
||||
|
||||
# To enforce perfect forward secrecy (PFS) on the main channel.
|
||||
#tls-priorities = "NORMAL:%SERVER_PRECEDENCE:%COMPAT:-RSA:-VERS-SSL3.0:-ARCFOUR-128"
|
||||
# More combinations in priority strings are available, check
|
||||
# http://gnutls.org/manual/html_node/Priority-Strings.html
|
||||
# E.g., to old default without perfect forward secrecy (PFS)
|
||||
# on the main channel:
|
||||
#tls-priorities = "NORMAL:%SERVER_PRECEDENCE:%COMPAT:-VERS-SSL3.0:-ARCFOUR-128"
|
||||
|
||||
# The time (in seconds) that a client is allowed to stay connected prior
|
||||
# to authentication
|
||||
|
||||
@@ -226,13 +226,15 @@ server-key = /path/to/key.pem
|
||||
|
||||
# GnuTLS priority string; note that SSL 3.0 is disabled by default
|
||||
# as there are no openconnect (and possibly anyconnect clients) using
|
||||
# that protocol.
|
||||
tls-priorities = "NORMAL:%SERVER_PRECEDENCE:%COMPAT:-VERS-SSL3.0:-ARCFOUR-128"
|
||||
# that protocol. The default string below enforces perfect forward secrecy (PFS)
|
||||
# on the main channel.
|
||||
tls-priorities = "NORMAL:%SERVER_PRECEDENCE:%COMPAT:-RSA:-VERS-SSL3.0:-ARCFOUR-128"
|
||||
|
||||
# More combinations in priority strings are available, check
|
||||
# http://gnutls.org/manual/html_node/Priority-Strings.html
|
||||
# E.g., to enforce perfect forward secrecy (PFS) on the main channel:
|
||||
#tls-priorities = "NORMAL:%SERVER_PRECEDENCE:%COMPAT:-RSA:-VERS-SSL3.0:-ARCFOUR-128"
|
||||
# E.g., to old default without perfect forward secrecy (PFS)
|
||||
# on the main channel:
|
||||
#tls-priorities = "NORMAL:%SERVER_PRECEDENCE:%COMPAT:-VERS-SSL3.0:-ARCFOUR-128"
|
||||
|
||||
# The time (in seconds) that a client is allowed to stay connected prior
|
||||
# to authentication
|
||||
|
||||
Reference in New Issue
Block a user