Closed
Description
Version
18.2.0, master
Platform
Linux localhost 5.17.7-1-default #1 SMP PREEMPT Thu May 12 12:38:04 UTC 2022 (c9a5fa1) x86_64 x86_64 x86_64 GNU/Linux
Subsystem
No response
What steps will reproduce the bug?
./node --tls-max-v1.2 --tls-min-v1.2 --tls-cipher-list='TLS_RSA_WITH_AES_256_CBC_SHA' -e "https.get('https://google.com/', (res) => {console.log('statusCode:', res.statusCode, res.client.getCipher()); }).on('error', (e) => console.error(e));"
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior?
TLSv1.2 connection or failure thereof
What do you see instead?
statusCode: 301 {
name: 'AES256-SHA',
standardName: 'TLS_RSA_WITH_AES_256_CBC_SHA',
version: 'SSLv3'
}
Additional information
No response