I will show you now, how to write a simple HTTPS JSON REST server using node.js components. Grab a beer, open your IDE and let’s start hacking. 0. Create certificates. If you don’t have valid https certificates, you can generate one for testing purposes. If you need one cool certificate, you can join cacert community….