We have developed one windows 8 application that consumes REST Services. here, the url used is HTTPS. it is working fine with this.
But i want to set up the test environment with HTTP.
so i have replaced the HTTPS url with HTTP url.
when i do this i am getting an exception :"remote server not found"
actually i have tested the url in browser. i am getting the response. but application throwing an exception
some of observations i have done are :
when i compare the HTTPS request object with HTTP object, i can see the parameter ClientCertificates:System.Security.Cryptography.X509Certificates.X509CertificateCollection for both HTTPS and HTTP.
I tried to remove the parameter for HTTP. unfortunatly i didnt get any way to do it
and there is no any code related to adding cerifificate in our application.
as some of them suggested to add 'Private Networks' and 'internet(Client & Server)' in capabilities. but its of no use.
Could anyone please help me out to resolve this issue?
here I am using the HttpWebRequest and HttpWebResponse.
Thanks in advance.