Skip to content
Permalink
Browse files

Add support for ProFTPD

  • Loading branch information...
april committed Oct 7, 2019
1 parent 94f9d93 commit 0beb900978d6a087ceb4ff9e11f87fabc063a3ce
Showing with 49 additions and 0 deletions.
  1. +9 −0 src/js/configs.js
  2. +40 −0 src/templates/partials/proftpd.hbs
@@ -120,6 +120,15 @@ module.exports = {
supportsOcspStapling: false,
tls13: '12.0',
},
proftpd: {
highlighter: 'apache',
latestVersion: '1.3.6',
name: 'ProFTPD',
showSupports: false,
supportsHsts: false,
supportsOcspStapling: true,
tls13: '1.3.6',
},
traefik: {
cipherFormat: 'go',
highlighter: 'ini',
@@ -0,0 +1,40 @@
# generated {{output.date}}, {{{output.link}}}
TLSEngine on
TLSRequired on

TLSCertificateChainFile /path/to/certificate_chain

# ECDSA certificate
TLSECCertificateFile /path/to/signed_cert
TLSECCertificateKeyFile /path/to/private_key

# RSA certificate, if using RSA certificates instead
# TLSRSACertificateFile /path/to/signed_cert
# TLSRSACertificateKeyFile /path/to/private_key
{{#if output.usesDhe}}

# {{output.dhCommand}} >> /path/to/dhparam
TLSDHParamFile /path/to/dhparam
{{/if}}

# {{form.config}} configuration, tweak to your needs
TLSProtocol {{#each output.protocols}} {{this}}{{/each}}
{{#if output.ciphers.length}}
TLSCipherSuite {{{join output.ciphers ":"}}}
{{/if}}
{{#if (minver "1.3.6" form.serverVersion)}}
TLSServerCipherPreference {{#if output.serverPreferredOrder}}on{{else}}off{{/if}}
{{/if}}
{{#if (minver "1.0.2l" form.opensslVersion)}}
{{#if (minver "1.3.6" form.serverVersion)}}
TLSessionTickets off
{{/if}}
{{/if}}
{{#if form.ocsp}}
{{#if (minver "1.3.6" form.serverVersion)}}

# requires mod_tls_shmcache
TLSStapling on
TLSStaplingCache "shmcb:logs/ssl_stapling(32768)"
{{/if}}
{{/if}}

0 comments on commit 0beb900

Please sign in to comment.
You can’t perform that action at this time.