approve HTTPS dummy certificate in C#
Posted: Thu Jun 17, 2021 11:17 am
Hi there,
not sure whether this is the best idea of today, but here's how I managed to make a c# application using the HTTPS Url of a server (activated through server.xml):
This works fine with xServer2 but of course ignoring a verification shall only be applied in an environment where you trust the server...
Bernd
not sure whether this is the best idea of today, but here's how I managed to make a c# application using the HTTPS Url of a server (activated through server.xml):
Code: Select all
ServicePointManager.ServerCertificateValidationCallback = (a, b, c, d) => true;
Bernd