Share via

Making HTTPS request to external REST service

Mike Paventa 1 Reputation point
2020-08-12T13:02:32.927+00:00

Is there any special configuration to make an external HTTPS call from Azure? While my app works locally I get error "The SSL connection could not be established" when calling from my published Azure app.

I am using HttpClient and loading the 509 cert successfully.

Thanks

Azure API Management
Azure API Management

An Azure service that provides a hybrid, multi-cloud management platform for APIs.


1 answer

Sort by: Most helpful
  1. Pramod Valavala 20,661 Reputation points Microsoft Employee Moderator
    2020-08-13T16:41:53.457+00:00

    Based on the inner exception, The credentials supplied to the package were not recognized, I believe you would have to set the app setting WEBSITE_LOAD_USER_PROFILE to 1 as mentioned in the docs for loading certificates from a file.

    2 people found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.