The filemanager on my application (Blazor Server and .Net 5.0) reports an error only when the application is hosted on Microsoft IIS.
The error is "The SSL connection could not be established, see inner exception" and occurs even before loading the data.
The error only occurs if I try to use the https protocol. If I try to access the application using http it works fine.
The issue only occurs on IIS. When trying to do the same using Visual Studio and IIS Express, the filemanager works for both http and https usage.
I've installed a self certificate on my machine and i'm also using that in the ssl settings of IIS for the website. The browser trusts the certificate.
I've tried to use the onError event of the filemanager to gather additional info, but I can't access the inner exception to try to understand what is causing this issue, therefore I can't resolve it.
I've reproduced this issue using a sample application with the latest syncfusion version. Please find it attached.
When publishing, I choose the folder method.
Thank you for your support.
Hi,
The normal HTTP url already works without removing the
app.UseHttpsRedirection() line.
As for the certificates, we do use a self signed one which is correctly installed, as the browser does signal the website to be safe (the red line over the https in the url bar is not dislayed), even if it's a self certificate.
For security purposes, our application should run on https, so this is not a suitable solution for us.
In addition, everything else on the website works, including our custom httpclient in the blazor frontend which communicates to the asp net core server, the only thing that is not working is just the filemanager.
I suppose you're using something like a httpclient on the code for the filemanager library. Could you please check the exception that it throws in that use case, before the error is wrapped to be inserted in a FileManager.FailureEventArgs object? Thank you