doc:appunti:linux:sa:proftpd
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:appunti:linux:sa:proftpd [2026/04/14 10:52] – [Supporto TLS] niccolo | doc:appunti:linux:sa:proftpd [2026/04/14 12:31] (current) – [Certificato EC (moderno)] niccolo | ||
|---|---|---|---|
| Line 73: | Line 73: | ||
| Per evitare che le password transitino in chiaro sulla rete è opportuno abilitare il protocollo TSL obbligatorio. | Per evitare che le password transitino in chiaro sulla rete è opportuno abilitare il protocollo TSL obbligatorio. | ||
| - | ==== Certificato RSA ==== | + | ==== Certificato RSA (legacy) |
| RSA è l' | RSA è l' | ||
| Line 80: | Line 80: | ||
| < | < | ||
| - | openssl x509 -in / | + | openssl x509 -in / |
| - | Public Key Algorithm: rsaEncryption | + | |
| + | Public Key Algorithm: rsaEncryption | ||
| </ | </ | ||
| Line 112: | Line 113: | ||
| Il parametro **NoSessionReuseRequired** serve per i client (notabilmente **Filezilla 3.39**) che non riusano la connnessione SSL aperta per il controllo anche per il successivo trasferimento dati. | Il parametro **NoSessionReuseRequired** serve per i client (notabilmente **Filezilla 3.39**) che non riusano la connnessione SSL aperta per il controllo anche per il successivo trasferimento dati. | ||
| - | ==== Certificato EC ==== | + | ==== Certificato EC (moderno) |
| - | id-ecPublicKey | + | Ad oggi (2026) Let's Encrypt fornisce i certificati usando l' |
| + | |||
| + | Per verificare il formato del file in nostro possesso si può usare il comando: | ||
| + | |||
| + | < | ||
| + | openssl x509 -in / | ||
| + | | grep " | ||
| + | Public Key Algorithm: | ||
| + | </ | ||
| + | |||
| + | ProFTPD 1.3.8 su Debian 13 Trixie può usare questi certificati. Si deve ovviamente verificare che il modulo TLS sia caricato assicurandosi che in **/ | ||
| + | |||
| + | < | ||
| + | LoadModule mod_tls.c | ||
| + | </ | ||
| + | |||
| + | Quindi le direttive di configurazione sono diverse: | ||
| + | |||
| + | < | ||
| + | IfModule mod_tls.c> | ||
| + | TLSEngine | ||
| + | TLSOptions | ||
| + | # | ||
| + | TLSLog | ||
| + | PassivePorts | ||
| + | TLSECCertificateFile | ||
| + | TLSECCertificateKeyFile | ||
| + | TLSCACertificateFile | ||
| + | TLSVerifyClient | ||
| + | TLSRequired | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | Come si vede ProFTPD deve accedere al certificato del server **cert.pem** e a quello intermedio **chain.pem** esplicitamente, | ||
| + | |||
| + | Per quanto riguarda i permessi ProFTPD è in grado di leggere il certificato Let's Encrypt direttamente dalla directory **/ | ||
| ==== FTP over TLS: Explicit vs Implicit ==== | ==== FTP over TLS: Explicit vs Implicit ==== | ||
doc/appunti/linux/sa/proftpd.1776156779.txt.gz · Last modified: by niccolo
