Jump to content

.NET Connect to EMS with self signed cert


Marcus Harris

Recommended Posts

Hi,

I am having issues using the .NET EMS client to connect when the server has a self signed cert. The client simply returns "TIBCO.EMS.EMSException: The remote certificate is invalid according to the validation procedure."

I have seen other solutions to this kind of issue (.NET generically) by setting the ServicePointManager.ServerCertificateValidationCallback, however this does not work in this case. It seems the EMS library explicitly passes a validation callback to the Channel/Socket/some underlying class, which does not allow this to be overridden. The sad thing is I can do this perfectly well in Java, and at this point I will likely just end up writing the application in Java. My preference was to have a .NET app, so if anyone has a solution to being able to override the server certificate validation that would be great.

Thanks,

Mark.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...