Error: self signed certificate in certificate chain, Node.js Mail Sender

Error: self signed certificate in certificate chain, Node.js Mail Sender

I am developing node js application through which I am trying to send mail from (localhost:3000), 
but I am getting error, please help on how do I send mail using node js nodemailer and zoho smtp

( I have created Application specific password using below link
https://www.zoho.com/mail/help/adminconsole/two-factor-authentication.html#alink5
 )

I am using nodemailer
Here is the code, how I am creating transporter object

  1. const nodemailer = require('nodemailer');

  2. const transporter = nodemailer.createTransport({
  3.    host: "smtp.zoho.com",,
  4.    port: 465,
  5.    secure: true,
  6.    secureConnection: false,
  7.    auth: {
  8.        user: "email@email.com",
  9.        pass: "password"
  10.    }
  11. });

  12. obj = {
  13.           from: 'valid@fromemail.com',
  14.                 to: 'valid@email.com',
  15.                 subject: 'subject',
  16.                 text: 'text',
  17.                 html: <b>Test HTML</b>
  18.             }

  19. transporter.sendMail(obj);

I got below error:
  1. { Error: self signed certificate in certificate chain
  2.    at TLSSocket.onConnectSecure (_tls_wrap.js:1055:34)
  3.    at TLSSocket.emit (events.js:198:13)
  4.    at TLSSocket.EventEmitter.emit (domain.js:448:20)
  5.    at TLSSocket._finishInit (_tls_wrap.js:633:8) code: 'ESOCKET', command: 'CONN' }

-----------------------------------------------------
Its giving error even If I am using non secure connection