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