[英]Adding Certificate to Azure Self-hosted Gateway Image
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顯示要應用的步驟。
如何在提供 azure 的 docker 基礎映像中添加自定義證書?
提前致謝
通過修改提供 azure 的 docker 映像解決:
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
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.