Fog Creek Software
Discussion Board

Welcome! and rules

Joel on Software

Client Certificate for .Net Remoting

I host .Net Remoting object in IIS, and setup the IIS server to require SSL connection and require client certification to access the server object.

I have client certification installed on the client machine.

The problem is I don't know how to attach the client certification into the .Net Remoting request.

X509Certificate clientCer;

//create remote object hosted on IIS server
RemoteObject ro = new RemoteObject();

//now, how can I attach clientCer into RemoteObject


Guogang Hu
Thursday, January 30, 2003

I think the easiest approach would be to expose your service using XML serialisation (rather than Binary) and then you can connect to the url of your remoted object passing a "?wsdl" querystring and hook up to it with "Add Web Reference" (or wsdl.exe if you prefer) -- AFAIK, the proxy created by AddWebRef will support client certs.

Duncan Smart
Friday, February 7, 2003

*  Recent Topics

*  Fog Creek Home