.NET Framework 4.8
We are facing a performance problem - Why is it significantly slow (around 1 minute) first time for TLS authentication.
Second time onwards TLS authentication is fast. When there is gap in communication of some hours (no connection/communication) with the FTP server, then again the significantly slowness is observed for TLS authentication
Note this is FTPS
How do I control this timeout?
Is there any tracing to see this flow? How do I enable it?
What is reasonable time it should take to validate certificate chains?