添加HTTPS端点后,我收到此警告:在证书存储中找不到“Microsoft.
我在我的WebRole中添加了一个HTTPS端点,现在当我尝试运行Azure模拟器时,我收到以下警告,这会导致计算模拟器停止并且调试器将保释:
警告:在本地计算机的证书存储中找不到角色“MyProj.Web”的端点“HttpsIn”的SSL证书“Microsoft.WindowsAzure.Plugins.RemoteAccess.PasswordEncryption”. 此证书与HTTPS端点无关.它也不(也不应该)在本地机器的证书存储上 – 它确实存在于CurrentUser证书存储区(我已经检查过).我试图在我的ServiceConfiguration中完全摆脱对这个证书的引用,只是为了看看会发生什么,但它会自动重新添加. 任何帮助,将不胜感激. 编辑: 为了清楚起见,我没有尝试使用Microsoft.WindowsAzure.Plugins.RemoteAccess.PasswordEncryption证书作为我的SSL证书.我已在本地计算机商店中为HTTPS端点成功设置了单独的自签名证书: ServiceDefinition.csdef中 <Bindings> <Binding name="Endpoint1" endpointName="Endpoint1" /> <Binding name="HttpsIn" endpointName="HttpsIn" /> </Bindings> ... <Endpoints> <InputEndpoint name="Endpoint1" protocol="http" port="80" /> <InputEndpoint name="HttpsIn" protocol="https" port="443" certificate="AzureSSL" /> </Endpoints> ... <Certificates> <Certificate name="AzureSSL" storeLocation="LocalMachine" storeName="My"/> </Certificates> ServiceConfiguration.Local.cscfg <Certificates> <Certificate name="Microsoft.WindowsAzure.Plugins.RemoteAccess.PasswordEncryption" thumbprint="xxxxxxxxxx" thumbprintAlgorithm="sha1" /> <Certificate name="AzureSSL" thumbprint="xxxxxxxxxx" thumbprintAlgorithm="sha1" /> </Certificates>
WebRole正在添加RemoteAccess证书设置并在LocalMachine中查找证书,因为SDK 1.8添加了< Import moduleName =“RemoteAccess”/>到csdef文件.要解决此问题:
>在两者中删除所有“Microsoft.WindowsAzure.Plugins.RemoteAccess.*” 或者,您可以将RDP证书添加到LocalMachine商店. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |