is any way to disable ssl certification in azure apim

Akhila 0 Reputation points
2024-11-15T17:05:19.64+00:00

I am sharing a sample code snippet for an APIM policy that fails due to certificate validation. Is there an option to disable SSL validation, similar to how Postman allows enabling or disabling it?

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,218 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JananiRamesh-MSFT 29,191 Reputation points
    2024-11-21T08:46:33.2866667+00:00

    @Akhila Thanks for getting back, I understand that you wanted to forward data from APIM to a different endpoint, but the endpoint may or may not have a certificate. so, you need to disable the certificate validation in APIM please correct me if i am wrong here.

    If yes this can be done by creating a Backend entity object within APIM. You can add your backend url and disable validate certificate chain and validate certificate name as shown below https://learn.microsoft.com/en-us/azure/api-management/backends?tabs=bicep

    User's image

    do let me know incase of further queries, I would be happy to assist you.

    0 comments No comments

Your answer

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