View Single Post
  #12  
Old 12th May 2013, 19:19
Hairy Hairy is offline
HowtoForge Supporter
 
Join Date: Mar 2013
Location: USA
Posts: 57
Thanks: 6
Thanked 27 Times in 16 Posts
Default

Quote:
Originally Posted by cmsits View Post
I'm quite new to this & the tutorial Bottom of page 4 says :
That's it. You can now try to connect using your FTP client; however, you should configure your FTP client to use TLS.
http://www.howtoforge.com/perfect-se...ispconfig-3-p4

this is well before ISPConfig Is Installed ???

I can connect using SFTP

But why is It not showing the details I added when doing this >

In order to use TLS, we must create an SSL certificate. I create it in /etc/ssl/private/, therefore I create that directory first:

mkdir -p /etc/ssl/private/

Afterwards, we can generate the SSL certificate as follows:

openssl req -x509 -nodes -days 7300 -newkey rsa:2048 -keyout /etc/ssl/private/pure-ftpd.pem -out /etc/ssl/private/pure-ftpd.pem

Country Name (2 letter code) [XX]: <-- Enter your Country Name (e.g., "DE").
State or Province Name (full name) []: <-- Enter your State or Province Name.
Locality Name (eg, city) [Default City]: <-- Enter your City.
Organization Name (eg, company) [Default Company Ltd]: <-- Enter your Organization Name (e.g., the name of your company).
Organizational Unit Name (eg, section) []: <-- Enter your Organizational Unit Name (e.g. "IT Department").
Common Name (eg, your name or your server's hostname) []: <-- Enter the Fully Qualified Domain Name of the system (e.g. "server1.example.com").
Email Address []: <-- Enter your Email Address.

Change the permissions of the SSL certificate:

chmod 600 /etc/ssl/private/pure-ftpd.pem
That certificate will never be used.
AND
It cannot be done before ISPConfig is installed as you stated.

Please look here

http://www.howtoforge.com/forums/showthread.php?t=61799
Reply With Quote