May 27, 2011 at 4:52 AM
Edited May 27, 2011 at 5:13 AM
So, this is what I did to install a real world certificate (which didnt help my btw...grrr)
The first thing of course is to get the certificate. For the sake of this example I'm going to use
myhost.mydomain.net. So, we have a valid SSL certificate for this host.
Second, when creating a hosted service, it is given a name on the cloudapp.net. For this example I'm going to name this hosted service as
wp7demo1, so its fully resolved name is wp7demo1.cloudapp.net.
Install your certificate (myhost.mydomain.net) into the Hosted Service Certificates repository.
Next, get into your DNS provider and create a CN record for myhost.mydomain.net that points to wp7demo1.cloudapp.net.
Test it using Nslookup, when typing your name should show the cloudapp.net version. Then, try a telnet to myhost.mydomain.net
on port 443 (if that is what you configured anyway).
If both tests work, then you should now be able to browse to your app using SSL on port 443.
Test https://myhost.mydomain.net/AzureTablesProxy.axd. Also test https://myhost.mydomain.net. In my case, both work and redirect me to the non SSL version (as they should
Now, someone please tell me how to convince my telephone (either emulator or HD7) to recognize the certificate I was issued by StartCom, which Windows, IE9 and Chrome state is valid. Not even "installing"
it on the phone works, when browsing to any SSL page on the phone yet IE on the phone still asks for confirmation on the cert's validity, and of course the sample application cannot find the service* grrr.
* fails on the client at:
public void Login(Action
successCallback, Action<string> exceptionCallback)