Adding client certificate to connection

Hi,

I have a .NET Core application, that connects to a SOAP Webservice (built in Delphi). Both use RemObjects Remoting SDK. I have generated a Library_Intf.cs file, and imported that in C#.

I want to add a client certificate to the connection, to support mutual TLS (two way SSL), but I cannot find how to do it.

I create a proxy for the service using IClientChannel and IMessage (e.g. ILoginService _loginService = CoLoginService.Create(clientChannel, message).

and then call a method like _loginService.Login(username, password)

I’ve found that IpHttpClientChannel has a SslOptions property, but that seems for server-side handling of certificates. I’ve tried assigning a certificate there, but it’s never sent added to the request.
I’ve tried using the HttpClient property, but it is read-onlyAnd I cannot override the HttpClient property, as it is read-only.

What am I doing wrong?

Hi,

Looks like you are right - only server-side certificates are supported.

Logged as bugs://D19596.