Skip to content

Commit

Permalink
Add CertFile to the configuration files wrappers
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Jun 26, 2015
1 parent 3cdc02f commit 32bffd1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions configuration-file/pure-config.pl.in
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ my %string_switch_for = (
AltLog => "-O",
PIDFile => "-g",
TLSCipherSuite => "-J",
CertFile => "-2",
);

my %numeric_switch_for = (
Expand Down
1 change: 1 addition & 0 deletions configuration-file/pure-config.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ option_tuple = (
["PIDFile\s+(\S+)", "-g", None ],
["TLSCipherSuite\s+(\S+)", "-J", None ],
["PerUserLimits\s+([:0-9]+)", "-y", None ],
["CertFile\s+(\S+)", "-2", None ],
["TLS\s+(\d)", "-Y", None ])

for option in option_tuple:
Expand Down
6 changes: 6 additions & 0 deletions configuration-file/pure-ftpd.conf.in
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,12 @@ CustomerProof yes



# Certificate file, for TLS

# CertFile /etc/ssl/private/pure-ftpd.pem



# Listen only to IPv4 addresses in standalone mode (ie. disable IPv6)
# By default, both IPv4 and IPv6 are enabled.

Expand Down

0 comments on commit 32bffd1

Please sign in to comment.