Discussion:
help
Venkatesh Srinivasan
2014-01-22 02:27:21 UTC
Permalink
help

Hi All,

I'm faced with a unique problem. I tried making HTTPS request with a client
certificate using HTTPWebRequest module of .NET and also with Bouncy castle
in windows forms platform. When I make the request using HTTPSWebRequest
and attach the same certificate it succeeds. But when I make the same
request using Bouncy castle the request fails. On further analysis I found
that the bouncy castle interprets the server hand shake as below



*type :server_hello type :certificate type :server_hello_done type
:finished *

This code is present in ProcessHandShake function of TLSProtocolHandler
class. It can be seen that it does not recognize the *client_request* hand
shake at all.

Now I do not think this any server related error. Because if that is the
case it would have failed with HTTPWebRequest class itself. Can some one
tell me what could be the issue.

Any assistance in this regard will be greatly appreciated.

Thanks and regards
Venkatesh

Loading...