CodeWithYou

Error-handling

  • Published on
    This article explains how to handle SSL/TLS certificate verification errors that occur when making HTTPS requests in Node.js using Axios. The article recommends passing a custom httpsAgent option with rejectUnauthorized set to false to disable SSL/TLS certificate verification. However, the article emphasizes the importance of enabling certificate verification in production environments to ensure data security.