An example of using tls in node plus creating certificate chain.