Crossposted here also: node.js - Facing TLS write failed: -2 issue while writing to aerospike - Stack Overflow