I have asp.net web api application hosted in iis server.Web api application uses httpwebrequest class to request data form remote server located in another machine which is ssl enabled. I need to access data from that server using httpweb request from my application.
I dont know how to implement handshake,
haw to request the server certificate,
how to validate the server certificate,
and start a secure commnunication connection with server from my asp.net web api app.
I searched alot and didnt find completed example.
please some one help me on that.