x2_args = r1.args[1:]
x2_args.append('--next')
x2_args.extend(proxy_args)
- x2_args.extend(['--proxy-tls13-ciphers', 'TLS_AES_128_GCM_SHA256'])
+ x2_args.extend(['--proxy-tls13-ciphers', 'TLS_AES_256_GCM_SHA384'])
r2 = curl.http_download(urls=[url], alpn_proto='http/1.1', with_stats=True,
extra_args=x2_args)
r2.check_response(count=2, http_status=200)
x2_args = r1.args[1:]
x2_args.append('--next')
x2_args.extend(proxy_args)
- x2_args.extend(['--proxy-tls13-ciphers', 'TLS_AES_128_GCM_SHA256'])
+ x2_args.extend(['--proxy-tls13-ciphers', 'TLS_AES_256_GCM_SHA384'])
r2 = curl.http_download(urls=[url], alpn_proto='http/1.1', with_stats=True,
extra_args=x2_args)
r2.check_response(count=2, http_status=200)
x2_args = r1.args[1:]
x2_args.append('--next')
x2_args.extend(proxy_args)
- x2_args.extend(['--tls13-ciphers', 'TLS_AES_128_GCM_SHA256'])
+ x2_args.extend(['--tls13-ciphers', 'TLS_AES_256_GCM_SHA384'])
r2 = curl.http_download(urls=[url], alpn_proto='http/1.1', with_stats=True,
extra_args=x2_args)
r2.check_response(count=2, http_status=200)
def _class_scope(self, env, httpd, nghttpx):
if env.have_h3():
nghttpx.start_if_needed()
- httpd.clear_extra_configs()
+ httpd.set_extra_config('base', [
+ 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',
+ ])
httpd.reload()
def test_17_01_sslinfo_plain(self, env: Env, httpd, nghttpx, repeat):
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'
- ),
]
if 'base' in self._extra_configs:
conf.extend(self._extra_configs['base'])