title: self signed certificate in certificate chain node js?
body: <p>code snippet for nodemailer and gmail</p>
  
  <pre><code>var transporter = nodemailer.createTransport({
          host: 'smtp.gmail.com',
          port: 465,
          secure: true,
          // service: 'Gmail',
          auth: {
              user: 'mail_id', 
              pass: 'password'
          }
  
  });
  </code></pre>
  
  <p>Please help find the mistake for solving the issue - self signed certificate in certificate chain </p>