Hello IOTA Forum

Problem with SSL Certificate and MAM npm library

https://forum.helloiota.com/Topic19499.aspx

By arnaud9145 - 18 Oct 2019

Hey guys, I'm having a problem using @iota/mam npm package, when trying to reach the url I want, I get a certificate error. This is the full error :
{
  "error": {
   "message": "request to https://nodes.devnet.thetangle.org:443/ failed, reason: unable to get local issuer certificate",
   "type": "system",
   "errno": "UNABLE_TO_GET_ISSUER_CERT_LOCALLY",
   "code": "UNABLE_TO_GET_ISSUER_CERT_LOCALLY"
  }
}
Usually when i get this error I manually add the certificate or i disable strict-ssl (I did that with npm for example, "npm config set strict-ssl false"), but how can I resolve my problem here ?

Can someone help me here, or guide me toward someone who can ?

Thanks a lot Smile

Arnaud