gpt4 book ai didi

azure - Azure 应用程序网关配置上的 PFX 大小限制错误

转载 作者:行者123 更新时间:2023-12-02 07:20:44 36 4
gpt4 key购买 nike

我正在尝试配置 azure 应用程序网关。我为 https 监听器配置提供了 .pfx 文件。但是当我尝试创建 Azure 应用程序网关时,出现以下错误

   {
"code": "InvalidTemplateDeployment",
"message": "The template deployment 'Microsoft.ApplicationGateway-20210324165226' is not valid according to the validation procedure. The tracking id is '808d9e19-ad0c-4a8a-a09f-df7c0bc38399'. See inner errors for details.",
"details": [
{
"code": "ApplicationGatewaySslCertificateDataTooBig",
"message": "Data too big for certificate /subscriptions/yyy/resourceGroups/xxx-resources/providers/Microsoft.Network/applicationGateways/app-gateway/sslCertificates/my-pfx. Max data length supported is 16384.",
"details": []
}
]

}

有人可以帮忙吗?

最佳答案

我在尝试上传包含 Azure 应用程序网关、根证书和中间证书的 4096 位 key 的 14209 字节 .pfx 文件时遇到了类似的问题。上传被拒绝,错误如下:

Failed to save configuration changes to application gateway: Data too big for certificate. Max data length supported is 16384.

从 .pfx 文件中删除根证书和中间证书后,文件大小减小到 9793 字节,并成功上传到 Azure 应用程序网关。 TLS 按预期工作。

我的结论: key 大小本身没有限制,但 .pfx 文件大小有限制。

关于azure - Azure 应用程序网关配置上的 PFX 大小限制错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66782004/

36 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com