×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Dec 2013
    Posts
    1

    Moving from HTTPS to HTTP in windows 8 App

    Hello Guys,

    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.

    Regards,
    Shilpa K

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2013
    Location
    Dublin, Ireland
    Posts
    552

    Re: Moving from HTTPS to HTTP in windows 8 App

    What exception is being thrown?

    And if you create a new basic app for Windows 8, can you make the connection that way?

  3. #3
    Nokia Developer Champion
    Join Date
    Mar 2013
    Posts
    686

    Re: Moving from HTTPS to HTTP in windows 8 App

    when you test the rul from the browser is it on a pc that isn't the server? (i.e. not localhost?)
    Can you try to re-define the webservice in the project with the http url?
    make sure that http port (i.e. 80 is open in your server since https uses a different port)
    Heard of DVLUP? Join here

Similar Threads

  1. HTTPS server hit problem from Windows Phone
    By jj2001 in forum Windows Phone General
    Replies: 6
    Last Post: 2013-12-31, 09:37
  2. Windows 8 Phone Client Certificate HTTPS authentication
    By deadlock83 in forum Windows Phone General
    Replies: 0
    Last Post: 2013-03-15, 16:06
  3. HTTPS + Certificate + http example in emulator
    By nuker85 in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2009-01-23, 23:37
  4. Forum Nokia Wiki:Moving to Windows Vista (tm)
    By jimgilmour1 in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 19
    Last Post: 2008-11-14, 17:12
  5. HTTP vs HTTPS
    By bestey in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2007-08-27, 04:09

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×