Ftp errors

1. Ftp connection refused eventhough port and ftp service working

The error log in /var/log/messages looks like this:

“/etc/ssl/private/pure-ftpd.pem” file not found

The recreate the file using the following steps

* openssl req -new -x509 -newkey rsa:1024 -days 9999 -nodes -keyout /etc/ssl/private/pure-ftpd.pem -out /etc/ssl/private/pure-ftpd.pem

* Fill the following details:
Country Name (2 letter code) [GB]:GB
State or Province Name (full name) [Berkshire]:Bristol
Locality Name (eg, city) [Newbury]:Bristol
Organization Name (eg, company) [My Company Ltd]:Server Ltd
Organizational Unit Name (eg, section) []:technical
Common Name (eg, your name or your server’s hostname) []:server.serverexample.org
Email Address []:xxxx@xxxxx.com
After this restart the ftp server using command /etc/init.d/pure-ftpd restart.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s