Additional suggestions for TLS version selection #913
youngbeggar
started this conversation in
Ideas
Replies: 3 comments 3 replies
-
why this request? |
Beta Was this translation helpful? Give feedback.
1 reply
-
it's not clear to me if you are talking about the connections received by hfs, or the occasional requests hfs does to other servers |
Beta Was this translation helpful? Give feedback.
1 reply
-
why don't you just specify TLS version on the client? like this const https = require('https');
const options = {
hostname: 'example.com',
port: 443,
path: '/',
method: 'GET',
secureProtocol: 'TLSv1_2_method', // Force TLS 1.2
};
const req = https.request(options, (res) => {
console.log('statusCode:', res.statusCode);
res.on('data', (d) => {
process.stdout.write(d);
});
}); |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear rejetto,
I think HFS is currently connecting to TLS 1.3. Is it possible to add the option to connect to TLS 1.2 only, or TLS 1.3 only, or to support TLS 1.2 and TLS 1.3 simultaneously?
Beta Was this translation helpful? Give feedback.
All reactions