Im working on the port from Xamarin (Android) to Maui Net7 (Android).
I have a HTTPClient for Webdav Calls. Under Xamarin i use the ServerCertificateCustomValidationCallback but under Maui Net7 this callback is never called!
httpHandler.ServerCertificateCustomValidationCallback = (message, cert, chain, errors) => { return true;};'
In the first step i get the error that Propfind Http method not supported, i use the
<UseNativeHttpHandler>false</UseNativeHttpHandler>
in the project to fix this.
After i test the SSL, i get an SSL error and the callback ServerCertificateCustomValidationCallback is not called under Maui Net7 (Android).
I need to support self signed certificates, how can I do that under Net7 Maui (Android)?
Many thanks in advance