asp.net - Windows Azure VM SSL and Cloudapp.net -


i installed asp.net application on windows azure vm (iis 7). ssl certificate installed, configured , application works correctly. have removed http binding , http endpoints.

the issue having if use cloudapp.net link (using https), application still opens mismatched certificate.

what can deny user opening application using https://xx.cloudapp.net/x?

enter image description here

it seems silly people saying isn't right place question, since of solutions code related. ie: in application, check host , if it's cloudapp.net, url redirect.

there's few different options here sounds you're looking ability prevent viewing application using url.

what set site in iis uses host header resolution xx.cloudapp.net. if url recognized, redirect using http redirect settings https version of app. don't bind ssl port site or you'll run ssl errors showed above.

the other option leave out entirely , use host header resolution filter out requests site. suspect you've done assign incoming requests ip address on system, why xx.cloudapp.net showing app , cert failing.

this cause xx.cloudapp.net fail show site @ think might want anyway.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -