Client-side Cert Web application problem

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

  1. #1

    Default Client-side Cert Web application problem

    I had the same problem about a year ago. I currently don't
    have a link to the article, but there's one on MSDN (I
    think it's part of a book "Implementing Secure ASP.Net
    Applications" or something like that). It has even a
    source code example in C# how to do it. In short - you'll
    need to create a COM+ component that will do the actual
    connection. That COM+ component will run under specific
    user profile. You have to load a valid Client Certificate
    into that user Personal Certificate store and than extract
    a public key out of it. You'll be using this public key to
    access the Client Certificate in that user's personal
    store. At run time COM+ component loads the user profile
    and at that point it can access this user's personal
    certificate store. Than you need to use the Cryptography
    libraries from .NET to add X509Certificate to your
    HTTPWebRequest object before connecting. You also might
    need to send your public key to the server for it to be
    installed if the server want to allow only certain
    certificates to access it.

    >-----Original Message-----
    >Hi all,
    >I'm trying to progamaticly connect to a website through a
    httpwebrequest.
    >The remote site requires a client side cert to be
    installed. I have
    >completed a command line a C# program that performs this
    task just fine.
    >When I move the functionality into a dotnet website, I
    get a 403 error from
    >the remote server. I've changed the iis login for
    anonymous access to the
    >user that the cert was installed for. At this point I'm
    at a loss for where
    >or what to try next. If anyone has any experince doing
    this I would
    >appreciate the input.
    >
    >Thanks again,
    >Tom Clark
    >
    >
    >.
    >
    Roman Pereyaslavsky Guest

  2. Similar Questions and Discussions

    1. Problem with client side active x
      Hi All, Hope you can help / point me in the right direction with a little problem. I have a VB6 created active X dll which is downloaded to the...
    2. Client side SOAP extension for non WEB application
      Need instrucitons on how to setup SOAP extension in windows forms client. I have managed to create Server side extensions but I'm confused about...
    3. FormsAuthentication client-side problem
      I'm using FormsAuthentication to secure access to a web site. The authentication process works correctly initially. The pages on the site have a...
    4. Client side and server side scripting problem
      Hiya I have a problem with using some client side and server side scripting together in an ASP. I'm using VBScript. What I'm trying to achieve...
    5. using PHP curl and a client cert
      Hello, I am trying to post to a ste that requires me to use a client cert. I can get it to work for both windows and unix, but only on the...
  3. #2

    Default Re: Client-side Cert Web application problem

    Thanks Roman,
    That is exactly what I'm doing. But I'm having trouble getting the user
    profile to load under my serviced component. I've got a pretty good how
    to on creating the serviced component, but I'm doing something wrong.

    Thanks,
    Tom Clark



    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Tom Clark 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