Azure App Service Docker Container running Rust App Making Outbound HTTP Request "unable to get local issuer certificate" – Stack Overflow

I think the issue must be with my Azure setup. I have an app service that is running a container for a rust web service. That web service needs to make an outbound https request. However, when I try to do that I get this error:

"error in reqwest: error sending request for url (https://api.twilio.com/2010-04-01/Accounts/######/Messages.json): error trying to connect: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1919: (unable to get local issuer certificate)"

I am using a managed certificate from Azure App Service. Does anyone have a hunch of what the issue might be? Or is familiar with this kind of issue in Azure?

Read more here: Source link