【发布时间】:2012-05-18 08:41:10
【问题描述】:
我正在尝试让我的 Azure 应用程序通过 Microsoft 平台就绪测试。我已成功启动并运行测试,但仅在其中一个测试用例上失败。这是输出:
======================================================================
Log generated by Microsoft Platform Ready Test Tool - Version 2.0.0.0
======================================================================
Test name: MyTest v4
Test date: 05/17/2012 08:37:45
Tested on: Physical Machine
Test for: Microsoft Windows Azure
======================================================================
Test case/Verification: TC 16 - If the application has HTTPS URL then is it using
port 443 for SSL configuration?
======================================================================
SSL not configured for the application.
Test Status: Fail
======================================================================
Test case/Verification: TC 16 - If the application has HTTPS URL then is it using
port 443 for SSL configuration?
05/17/2012 08:37:46 End of Log.
======================================================================
该服务有一个 Web 角色(两个实例,用于通过弹性测试,TC 10),并且有两个端点:
- 80 : http : 使用 IIS 重写模块重定向到 https 端点。
- 443 : https : 提供网站
(我也启用了 RDP,打开了 3389 端口。)
在 MPR 设置中,我将通过 Web 浏览器下载的 SSL 证书的公钥作为“服务证书文件”提供。我很确定这是正确的做法(?)。
我已针对 https 端点“应用程序 URL”运行 MPR 工具,但对于测试用例 16,它仍然返回失败 - 我不知道为什么。有人可以帮忙吗?
【问题讨论】:
-
测试正在根据测试工具的输出在端口 443 上查找您所说的“......有两个端点:80:http:重定向到 https使用 IIS 重写模块的端点。43 : https : 交付站点" https 不应该在端口 443 上而不是 43 上吗?我对 Azure 一无所知,所以这可能没问题,但它引起了我的注意,所以我认为它可能值得一提
-
抱歉,打错了 - 我在 443 端口。
标签: azure