source: mod_gnutls/test/tests/23_TLS_reverse_proxy_mismatched_priorities/backend.conf @ f030883

debian/masterdebian/stretch-backportsjessie-backportsupstream
Last change on this file since f030883 was f030883, checked in by Thomas Klute <thomas2.klute@…>, 5 years ago

Set GnuTLS priorities for proxy connections separately

Until now, proxy connections were configured with the same priorities as
the server side. This commit introduces the new configuration option
"GnuTLSProxyPriorities" to set the priorities for proxy connections
separately. Note that GnuTLSProxyPriorities MUST be set when
SSLProxyEngine is enabled.

Since the parameters to GnuTLSPriorities and GnuTLSProxyPriorities need
the same processing, mgs_set_priorities has been rewritten to select the
priority cache to write to based on the option name, rather than adding
a new function to handle GnuTLSProxyPriorities.

  • Property mode set to 100644
File size: 411 bytes
Line 
1Include ${PWD}/../../base_apache.conf
2
3CustomLog logs/${TEST_NAME}.backend.access.log combined
4ErrorLog logs/${TEST_NAME}.backend.error.log
5PidFile backend.pid
6
7GnuTLSCache dbm cache/gnutls_cache
8
9<VirtualHost ${BACKEND_IP}:${BACKEND_PORT}>
10 ServerName ${BACKEND_HOST}
11 GnuTLSEnable On
12 GnuTLSCertificateFile server/x509.pem
13 GnuTLSKeyFile server/secret.key
14 GnuTLSPriorities NORMAL:-VERS-TLS1.2
15</VirtualHost>
Note: See TracBrowser for help on using the repository browser.