aacerox / node-rest-client

REST API client from node.js
MIT License
377 stars 132 forks source link

https encryption #208

Open niclasek opened 4 years ago

niclasek commented 4 years ago

I use node-rest-client to make calls to http and https endpoints.

Are the calls to the https endpoints always encrytped using TLS? Do I need to explicitly configure the https settings in the options that I pass to the client as in the documentation or what is the default value?

connection: {
        secureOptions: constants.SSL_OP_NO_TLSv1_2,
        ciphers: 'ECDHE-RSA-AES256-SHA:AES256-SHA:RC4-SHA:RC4:HIGH:!MD5:!aNULL:!EDH:!AESGCM',
        honorCipherOrder: true
    }

Thank you, Niclas