Azure Self-hosted Gateway with Custom Client Certificate

Kinda Loutfi 1 Reputation point
2021-11-04T08:23:31.103+00:00

I am working with Azure API management.
I have deployed a self-hosted gateway on my local machine, and I want to associate custom client certificates for security.

The documentation available is not clear to me.
https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-ca-certificates#create-custom-ca-for-self-hosted-gateway

There is no clear step-by-step guide to know how to use the Gateway Certificate Authority - Create Or Update REST API to associate the certificate with the self-managed gateway.

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,981 Reputation points Moderator
    2021-11-05T06:48:25.617+00:00

    @Kinda Loutfi There are two steps mentioned in the document that points to a different document.
    The first step in the document is to Add a certificate .pfx file to your API Management instance which points to this document where you first upload the .pfx certificate from the portal or using Create or Update APIM Management Create Certificate REST API. The API document does list the parameter/sample request/response from the respective APIs. If you are looking for authenticate the Azure Management API then you need to refer to Azure REST API reference document which has the details on the setup the first time when you want to call any Azure Management API.

    The Gateway Certificate Authority - Create Or Update REST API does cover the URI definition and parameter that is used while making the request. Please refer to the sample request . If you are facing any issue/error in building the request or any error then please let me know.

    1 person 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.