Page 1 of 1

ServerSDK - Automatically trust all clients?

Posted: 24 Aug 2017, 15:08
by Sebastian
Hi,
how can I get the Server SDK to automatically accept all clients and not rejecting them?
In the C++ SDK there is an option for this called "AutomaticallyTrustAllClientCertificates" which should do the trick, but is there any equivalent option in the .NET SDK?

Thanks!

Re: ServerSDK - Automatically trust all clients?

Posted: 07 Sep 2017, 16:41
by Support Team
Hello,

You have to implement the ApplicationInstance.UntrustedCertificate EventHandler. If you are setting the Accept property always to true, all certificates are accepted.
Please see:
ApplicationInstance.UntrustedCertificate
UntrustedCertificateEventArgs

Re: ServerSDK - Automatically trust all clients?

Posted: 20 Sep 2017, 13:29
by Sebastian
Thanks, that was exactly what I was looking for.