serveur_proftpd
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
serveur_proftpd [2010/12/19 13:18] – thierry | serveur_proftpd [2010/12/19 14:00] (Version actuelle) – thierry | ||
---|---|---|---|
Ligne 16: | Ligne 16: | ||
*http:// | *http:// | ||
*http:// | *http:// | ||
+ | |||
+ | ==== Key ==== | ||
+ | |||
+ | # cd / | ||
+ | # mkdir keys | ||
+ | # chmod 0750 keys | ||
+ | # chown proftpd: | ||
+ | # su -s /bin/bash proftpd | ||
+ | $ cd keys | ||
+ | $ openssl req -new -x509 -days 3650 -nodes -out proftpd-rsa.pem -keyout proftpd-key.pem | ||
+ | Country Name (2 letter code) [AU]:FR | ||
+ | State or Province Name (full name) [Some-State]: | ||
+ | Locality Name (eg, city) []:Creteil | ||
+ | Organization Name (eg, company) [Internet Widgits Pty Ltd]: | ||
+ | Organizational Unit Name (eg, section) []:web | ||
+ | Common Name (eg, YOUR name) []: | ||
+ | Email Address []: | ||
+ | On a alors: | ||
+ | | ||
+ | -rw-r--r-- 1 proftpd nogroup 1233 déc 25 14:31 proftpd-rsa.pem | ||
+ | -rw-r--r-- 1 proftpd nogroup | ||
+ | |||
+ | L' | ||
+ | $ hostname -f | ||
+ | www.thierry-jaouen.fr | ||
+ | |||
+ | ==== tls.conf ==== | ||
+ | |||
+ | Dans le fichier **''/ | ||
+ | # egrep -v " | ||
+ | < | ||
+ | TLSEngine | ||
+ | TLSLog | ||
+ | TLSProtocol | ||
+ | TLSRSACertificateFile | ||
+ | TLSRSACertificateKeyFile | ||
+ | TLSOptions | ||
+ | TLSVerifyClient | ||
+ | TLSRequired | ||
+ | </ | ||
+ | |||
+ | ==== proftpd.conf ==== | ||
+ | |||
+ | Autoriser " | ||
+ | | ||
+ | ... < | ||
+ | | ||
+ | Include / | ||
+ | | ||
+ | ... < | ||
+ | |||
+ | PassivePorts | ||
+ | UseSendFile off | ||
+ | |||
+ | " | ||
+ | |||
+ | " | ||
===== Restreindre les droits comme j'aime ===== | ===== Restreindre les droits comme j'aime ===== |
serveur_proftpd.1292764731.txt.gz · Dernière modification : 2010/12/19 13:18 de thierry