问题描述
嗨
我得到了 500个错误代码,因此基于Microsoft文档,我遵循了问题解决方法 跨度>
I got 500 error code so based on Microsoft document i followed issue solved
New-AzureRmApiManagementBackend -Context $ apimContext -Url'我的后端API url 1'-协议http -SkipCertificateChainValidation $ false -SkipCertificateNameValidation $ false
New-AzureRmApiManagementBackend -Context $apimContext -Url 'My backend API url 1' -Protocol http -SkipCertificateChainValidation $false -SkipCertificateNameValidation $false
我的问题应该是如果我有5个不同的backendurl那么我需要为每个后端服务URL设置设置SkipCertificateChainValidation flase?
My question suppose if i have 5 different backendurl then i need to set for each backend service url set SkipCertificateChainValidation flase?
我的环境:
我有客户API,但此客户API呼叫后端5个不同的数据中心网址
解冻
推荐答案
在测试过程中,您可能需要使用自签名证书.为此,您可以将skipCertificateChainValidation属性设置为true.
测试完成后,您可以调用Delete a backend操作删除测试配置,也可以调用Update a backend 并将skipCertificateChainValidation设置为false.
When testing is complete, you can either call the Delete a backend operation to delete the test configuration or you can call Update a backend and set skipCertificateChainValidation to false.
有关详细信息,您可以参考到' New-AzureRmApiManagementBackend ' cmdlet.
For details, you may refer to ‘New-AzureRmApiManagementBackend’ cmdlet.
----------------------------------- -------------------------------------------------- ----------
如果此答案有帮助,请单击"标记为答案"或"投票". 要提供有关您的论坛体验的其他反馈,请单击 .
If this answer was helpful, click "Mark as Answer" or "Up-Vote". To provide additional feedback on your forum experience, click here.
这篇关于APIM后端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!