User Profile

Collapse

Profile Sidebar

Collapse
gkostel
gkostel
Last Activity: Feb 22 '07, 02:26 PM
Joined: Feb 22 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • gkostel
    replied to SSL session
    in .NET
    My code is as follows..



    string p_aURL = "https://192.168.100.12/login_mainF.cgi ";

    byte[] p_aAuthBytes = Encoding.ASCII. GetBytes("Admin istrator:MyPass word");

    string p_sAuth = Convert.ToBase6 4String(p_aAuth Bytes);

    HttpWebRequest p_aWebRequest = (HttpWebRequest )WebRequest.Cre ate(p_aURL);

    HttpWebResponse p_aWebResponse = null;

    ...
    See more | Go to post

    Leave a comment:


  • gkostel
    replied to SSL session
    in .NET
    In C# on line;

    Stream streamPostData = p_aWebRequest.G etRequestStream ();

    I get the following message;

    The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
    See more | Go to post

    Leave a comment:


  • gkostel
    started a topic SSL session
    in .NET

    SSL session

    How can I establish an SSL session?!

    When I connect to a SSL site using my browser, the SSL session is established. But when i try to do the same using C# I don't seem to be succesfull. Another problem that I don't understand is the fact that when I use my browser to connect to the IP address for instance https://192.168.100.12/advanced_status F.cgi the session is open and i can login. the problem arises when i copy the page to disk...
    See more | Go to post
No activity results to display
Show More
Working...