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
During TLS handshakes, any certificate chains involved in the connection will need to be validated this is the reason it sometimes takes time.
This session keeps this information once until its timeout, it will again perform this process.
Hope this answers your question.
Thanks for contacting us.