开发者

Mismatched SSL certificate in Azure Compute Emulator

开发者 https://www.devze.com 2023-03-22 12:00 出处:网络
I have Azure app containing 4 sites in a single web role (differentiated by host headers). I setup the sites to run over SSL. I issued 2 self signed certificates: 1 as CA installed into Trusted开发者

I have Azure app containing 4 sites in a single web role (differentiated by host headers). I setup the sites to run over SSL. I issued 2 self signed certificates: 1 as CA installed into Trusted开发者_Go百科 Root CAs store and 1 wildcard SSL certificate (issued using the first one).

The application runs, however I'm getting certificate error 'Mismatched address' in Azure Compute Emulator. I examined the mismatched certificate and found out it is not the one specified in service configuration. I went into IIS management console and checked the bindings - there was no cert set for my sites. So I setup the wildcard certificate manually in the site bindings. But in browser I still have mismatched certificate, still the one for 127.0.0.1 (comming with DevFabric). How can I make the IIS to return the correct certificate configured for the site?

(I have some services in the web sites consumed by Silverlight application and it does not work when there is forced manual confirmation of the certificate by user.)

Thanks!


Are you sure that you really access the service using https://127.0.0.1 and not using https://localhost?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号