File: 0014-ssl-cert.patch

package info (click to toggle)
vsftpd 3.0.5-0.3
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 2,664 kB
  • sloc: ansic: 16,810; sh: 251; makefile: 51; python: 18
file content (19 lines) | stat: -rw-r--r-- 658 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Author: Daniel Baumann <mail@daniel-baumann.ch>
Description: Using ssl-cert for snakeoil certificate.

Index: trunk/vsftpd.conf
===================================================================
--- trunk.orig/vsftpd.conf
+++ trunk/vsftpd.conf
@@ -146,7 +146,10 @@ pam_service_name=vsftpd
 #
 # This option specifies the location of the RSA certificate to use for SSL
 # encrypted connections.
-rsa_cert_file=/etc/ssl/private/vsftpd.pem
+rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
+rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
+ssl_enable=NO
+
 #
 # Uncomment this to indicate that vsftpd use a utf8 filesystem.
 #utf8_filesystem=YES