If you are experiencing a “Certificate Expired” error in FileZilla when attempting to connect to an FTP server on your cPanel server.
openssl s_client -connect yourserver.com:21 -starttls ftp
Verification error: certificate has expired
Restarting the FTP server can sometimes resolve the issue.
Here are the steps to restart the Pure-FTPd server using the “/scripts/restartsrv_pureftpd” script:
Log in to your cPanel server as the root user via SSH.
Run the following command to restart the Pure-FTPd service:
This will stop and then start the Pure-FTPd service on your server.
Verify that the issue has been resolved by connecting to the FTP server again using FileZilla. You should no longer see the “Certificate Expired” error.
If you continue to experience issues connecting to the FTP server after restarting the Pure-FTPd service, you may need to check your SSL certificate configuration or consult with a qualified system administrator or cPanel support for further assistance.