25 Jul 2018

TLS 1.2 for Node.js developers

Default blog image

Get started with this previous blog post for basic information, this article will just summarize actions for Node.js apps.

Background

The Autodesk Forge .Node.js package is available on NPM.

Adding TLS 1.2 support

In theory you should not need to change anything to use TLS 1.2 since Node.js is compatible and use TLS 1.2 by default in the latest versions. However, the Node.js SDK is forcing the TLS 1.2 in case you are using an older version of the Node.js engine.

What should I do?

Change your forge-apis dependency version to 0.4.3 +, and update your application using ```npm update```

 

Related Article

Posted By

Cyrille Fauvel

Cyrille has been with Autodesk since 1993 focusing on providing programming support, consulting, training and evangelism to external developers. He has worked for Autodesk in a number of countries: he started his career in the Switzerland and has – so far – working from Switzerland, the United States and France. He and his family have now settled back in Brittany the home land of Cyrille’s wife. Cyrille’s...