Reputation: 1310
I have some troubles working with the azure api management self-hosted gateway, what happens is that the self-hosted gateway cannot communicate with the apim because of ssl handshake verification, according microsfot doc I should add my custom certificate, but the doc does not show the steps to be applied.
how do I add a custom certificate in the docker base image that provides azure?
thanks in advance
Upvotes: 0
Views: 611
Reputation: 1310
Solved, by modifying the docker image that provides azure:
FROM mcr.microsoft.com/azure-api-management/gateway:latest
USER root
COPY customdomain.crt /usr/local/share/ca-certificates/apim.crt
RUN update-ca-certificates
USER 1001
Upvotes: 1