node.js client with TLS1.2 support
node.js, windows
Solution
Based on some research I did both on Node.js documentation and SO, this sources might be useful for resolving your question. Both, in sort of a mix, can achieve what you want to do.
Node.js HTTPS Documentation
Node.js TLS Documentation
More into the specific issue, i found this question which is the same yours... node js tls1.2 and authentication
Problem
I want to write an HTTPS Client with TLS 1.2 support. How to enable this with my code (but default it is using TLS 1.0). ``` var https = require('https'); var util = require('util'); var fs = require('fs'); var options ={host: '192.168.1.85',port: 443,method: 'POST', secureProtocol:'TLSv1_method'}; var request = https.request(options,responsehandle); request.send() ``` I am using nodejs version v0.10.3