mirror of
https://github.com/curl/curl.git
synced 2026-08-26 01:13:37 +03:00
tests/http: configure test httpd to honor client cipher order
Let the client, e.g. curl, influence the cipher selected in a TLS handshake. TLS backends have different preferences and honor that in httpd the same as Caddy does. Also makes for a more fair compare of different TLS backends. Closes #14338
This commit is contained in:
parent
754acd1a9d
commit
f6cb3c6308
2 changed files with 3 additions and 9 deletions
|
|
@ -257,13 +257,7 @@ class Httpd:
|
|||
f'Listen {self.env.proxys_port}',
|
||||
f'TypesConfig "{self._conf_dir}/mime.types',
|
||||
f'SSLSessionCache "shmcb:ssl_gcache_data(32000)"',
|
||||
(f'SSLCipherSuite SSL'
|
||||
f' ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256'
|
||||
f':ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305'
|
||||
),
|
||||
(f'SSLCipherSuite TLSv1.3'
|
||||
f' TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256'
|
||||
),
|
||||
f'SSLHonorCipherOrder on',
|
||||
]
|
||||
if 'base' in self._extra_configs:
|
||||
conf.extend(self._extra_configs['base'])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue