title: Disable SSL certificate verification for react JS web application and avoid error "Failed to load resource: net::ERR_CERT_COMMON_NAME_INVALID"
body: <p>I am trying to do API call from react js application.The API exposes HTTPS endpoints and it uses self signed certificates. Due to which API call errors out saying &quot;Failed to load resource: net::ERR_CERT_COMMON_NAME_INVALID&quot;. I am planning to include certificates during the production deployement but now in development state I would like to disable the SSL certificate verification. What is the mechanism to do that from the ReactJS web application&quot;.</p>
  <p>Please help me.</p>
  <p>Thank you.</p>