转到您的.CSDEF并添加以下3个标签(相应变化):
<WebRole name="CertificateTesting" vmsize="Small">
...
<Certificates>
<Certificate name="SampleCertificate" storeLocation="LocalMachine" storeName="CA" />
</Certificates>
...
<Endpoints>
<InputEndpoint name="HttpsIn" protocol="https" port="443" certificate="SampleCertificates" />
</Endpoints>
...
<Sites>
<Site name="Web">
<Bindings>
<Binding name="HttpsIn" endpointName="HttpsIn" />
</Bindings>
</Site>
</Sites>
...
</WebRole>
接下来,打开你的.CSCFG并添加:
<Role name="Deployment">
...
<Certificates>
<Certificate name="SampleCertificate" thumbprint="9427befa18ec6865a9ebdc79d4c38de50e6316ff" thumbprintAlgorithm="sha1" />
</Certificates>
...
</Role>
更换指纹和thumbprintAlgorithm与您的证书之一。
最后,使用Azure门户上传部署软件包和证书或将其添加到证书选项卡。您必须使用私钥导出证书才能工作。
此链接的更多细节: http://azure.microsoft.com/en-us/documentation/articles/cloud-services-configure-ssl-certificate/
回答你的最后一个问题:当你已经上传了与包的证书,汽车规模将用这个包来提供新的服务器。
解决了我的问题...谢谢。 – Ron