Cyber Panel was installed few days ago from image in Google Cloud on new VM. Ubuntu 22.04
After install, i had some files and folders in: /etc/pure-ftpd but this service was not installed on machine.
I installed:
sudo apt-get purge --auto-remove pure-ftpd
sudo apt install pure-ftpd -y
systemctl stop pure-ftpd
getent group ftpgroup
ftpgroup:x:2001:
useradd -u 2001 -s /bin/false -d /bin/null -c “pureftpd user” -g ftpgroup ftpuser
useradd: user ‘ftpuser’ already exists
systemctl start pure-ftpd
systemctl status pure-ftpd
cp pure-ftpd.pem pure-ftpd.pem.org
openssl req -newkey rsa:1024 -new -nodes -x509 -days 3650 -subj “/C=US/ST=Denial/L=Springfield/O=Dis/CN=www.example.com” -keyout /etc/ssl/private/pure-ftpd.pem -out /etc/ssl/private/pure-ftpd.pem
rm -R /etc/pure-ftpd
mkdir /etc/pure-ftpd
cp /usr/local/CyberCP/install/pure-ftpd-one/* /etc/pure-ftpd/
but above i didnt find subfolders so i had to install it again.
I corrected mysql pass in pureftpd-mysql.conf from (/usr/local/CyberCP/CyberCP/settings.py under DATABASES =)
Finally i created some new user at:
https://xx.xx.44.xxx:8090/ftp/createFTPAccount
for example: puser
And later i try to login via FileZilla:
- when generated new one pure-ftpd.pem file:
openssl req -newkey rsa:1024 -new -nodes -x509 -days 3650 -subj “/C=US/ST=Denial/L=Springfield/O=Dis/CN=example.com” -keyout /etc/ssl/private/pure-ftpd.pem -out /etc/ssl/private/pure-ftpd.pem
error:
00:21:08 Status: Resolving address of example.com
00:21:08 Status: Connecting to xx.xx.xxx.xxx:21…
00:21:08 Status: Connection attempt failed with “ECONNREFUSED - Connection refused by server”.
00:21:08 Error: Could not connect to server
- when i used original pure-ftpd.pem file after Cyber Panel installation:
error:
Host: example.com:21 hostname does not match certificate
what can i do?

