Check another server's certficate from asp.net Code behind

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

  1. #1

    Default Check another server's certficate from asp.net Code behind

    I have an asp.net program that needs to request info from another server but
    authenticate that other server certificate to ensure an "unauthroized"
    redirect has occurred. Note that "authorized" redirect can occur, we need to
    validate the server cert to ensure we're still submitting sensative info to
    the correct server...
    any clues where to start? Many thanks!
    wardeaux


    Wardeaux Guest

  2. Similar Questions and Discussions

    1. Check this code. Works in 5, not in 6!!
      Hi. I'm trying to get the .focus to change from textfield to the next by pressing the TAB key. This code works in a Flash 5 movie, but not a 6. The...
    2. Please check this code.
      I have this little interactive thing that is like a magic 8 ball. I had it working fine and then I wanted to update it so that it would give an...
    3. [PHP] Another code check
      From: "James Johnson" <james@primedna.net> True. It even tells you it's being written (output) on line 11. You're "writing" a line space...
    4. Another code check
      Hello, Can anyone see what's wrong with the following code? It produces the following in the browser: Warning: Cannot add header information -...
    5. Code check please
      Hi, Can anyone see why this code isn't working.... $SID = $_SESSION; $AdID = $_GET; // get the campuses assigned $qCampusID = "SELECT...
  3. #2

    Default Re: Check another server's certficate from asp.net Code behind

    You might consider doing an HttpWebRequest to the target server and
    implementing a custom ICertificatePolicy class to attach the
    ServicePointManager. It will then call your function and allow you to see
    the certificate, service point, request and certificate validation problem
    (if there was one) and let you decide whether to allow the request or not.

    Joe K.

    "Wardeaux" <wardeaux@bellsouth.net> wrote in message
    news:umdYCYVQFHA.2736@TK2MSFTNGP09.phx.gbl...
    >I have an asp.net program that needs to request info from another server
    >but authenticate that other server certificate to ensure an "unauthroized"
    >redirect has occurred. Note that "authorized" redirect can occur, we need
    >to validate the server cert to ensure we're still submitting sensative info
    >to the correct server...
    > any clues where to start? Many thanks!
    > wardeaux
    >

    Joe Kaplan \(MVP - ADSI\) 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