Включаем SSL/TLS на Pure-FTPd

Конфигурация SSL/TLS……

[root@www ~]# cd /etc/pki/tls/certs
[root@www certs]# openssl req -x509 -nodes -newkey rsa:1024 -keyout /etc/pki/tls/certs/pure-ftpd.pem -out /etc/pki/tls/certs/pure-ftpd.pem
Generating a 1024 bit RSA private key
……++++++
…….++++++
writing new private key to ‘/etc/pki/tls/certs/pure-ftpd.pem’
——
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter ‘.’, the field will be left blank.
——
Country Name (2 letter code) [AU]:JP# country
State or Province Name (full name) [Some-State]:Hiroshima # state
Locality Name (eg, city) []:Hiroshima# city
Organization Name (eg, company) [Internet Widgits Pty Ltd]:Server World # company
Organizational Unit Name (eg, section) []:IT Solution # department
Common Name (eg, YOUR name) []:www.server.world # server’s FQDN
Email Address []:xxx@server.world# email address
[root@www certs]# chmod 600 pure-ftpd.pem
[root@www certs]# vi /etc/pure-ftpd/pure-ftpd.conf
# line 430: uncommen
TLS 1
[root@www certs]# /etc/rc.d/init.d/pure-ftpd restart
Stopping pure-ftpd: [ OK ]
Starting pure-ftpd: [ OK ]

 

источник: http://linuxsoid.ucoz.com/publ/linux_servers/rabota_na_linux_servers/vkljuchaem_ssl_tls_na_pure_ftpd/32-1-0-888

Запись опубликована в рубрике *CentOS. Добавьте в закладки постоянную ссылку.

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *

Я не спамер This plugin created by Alexei91