Self-signed certificate in AI bot

I am trying to use a self signed url in script widget of an AI bot flow and I’m receiving this error:

Error: self-signed certificate in certificate chain