Problem using HttpWebRequest/HttpWebResponse with HTTPS

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Re: Problem using HttpWebRequest/HttpWebResponse with HTTPS

    Did you ever solve this problem?
    If so, please can you let me know how as I am trying to do something similar.

    [email]richard.beacroft@warnerbros.com[/email]

    Regards,
    Rik

    ---
    Posted using Wimdows.net NntpNews Component -

    Post Made from [url]http://www.DotNetJunkies.com/newsgroups[/url] Our newsgroup engine supports Post Alerts, Ratings, and Searching.
    DotNetJunkies User Guest

  2. Similar Questions and Discussions

    1. HttpWebRequest and HttpWebResponse
      Hi all: My old application used to POST xml to a remote server using HttpWebRequest from within an aspx page. The process worked like a charm...
    2. HttpWebRequest, impersonation and DefaultCredentials problem.
      I'm trying to create a HttpWebRequest object that uses the current logged in user's credentials. It's currently setup with: <identity...
    3. HTTPWebRequest + Cookies problem
      Hi, In continue to another post which I have in this news group, I was able to find out some more details about the problem What is my...
    4. HttpWebRequest Session Length Problem
      I need to send multiple WebRequests in the same session. The problem is I send the first request, which is a login request, receive the reply that...
    5. System.Net.HttpWebRequest with HTTPS
      I am using the System.Net.HttpWebRequest object to POST data to an HTTPS web page. Other than prefixing the URL with "HTTPS://", do I need to do...
  3. #2

    Default Re: Problem using HttpWebRequest/HttpWebResponse with HTTPS

    check out [url]http://normanheadlam.blogspot.com/[/url]

    ---
    Posted using Wimdows.net NntpNews Component -

    Post Made from [url]http://www.DotNetJunkies.com/newsgroups[/url] Our newsgroup engine supports Post Alerts, Ratings, and Searching.
    DotNetJunkies User Guest

  4. #3

    Default Re: Problem using HttpWebRequest/HttpWebResponse with HTTPS

    You must add the https cert from the given url to the request. At first store the cert on disk (e.g. via IE).
    Then:

    oCert = X509Certificate.CreateFromCertFile("AT3.cer");
    m_oRequest.ClientCertificates.Add(oCert);

    I hope it helps

    ---
    Posted using Wimdows.net NntpNews Component -

    Post Made from [url]http://www.DotNetJunkies.com/newsgroups[/url] Our newsgroup engine supports Post Alerts, Ratings, and Searching.
    DotNetJunkies User Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139