FTPS - slow initial connection

0
.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 QUESTIONS: 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?
 
asked 8/11/2022 5:24:41 PM
add a comment

1 Answers

0
Hi Linday, You can use [Write log entries to a Log Listener][1] Thanks for contacting us. [1]: https://doc.componentpro.com/ComponentPro-Ftp/write-log-entries-to-a-log-listener
 
answered 8/12/2022 7:46:49 AM
  After enabling log entries, it is observed that server ceritificate varification is taking ~1 minute first time. What could be the reason for this: Ftp: 1, Thread Id: 0 [08/26/2022 16:43:11.48] Debug - TlsSsl: HandshakeMessage:ServerHelloDone was received. **Ftp: 1, Thread Id: 0 [08/26/2022 16:43:11.48] Debug - TlsSsl: Verifying server certificate ('CN=*.rakon.com, OU=Domain Control Validated'). Ftp: 1, Thread Id: 0 [08/26/2022 16:44:11.61] Debug - TlsSsl: Certificate verification result: c_Y6C** Ftp: 1, Thread Id: 0 [08/26/2022 16:44:11.63] Verbose - TlsSsl: => TLS packet: Lindsay 8/27/2022 3:49:32 PM
add a comment

Your Answer

Not the answer you're looking for? Browse other questions tagged ultimate sftp or ask your own question.