Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dovecot.hbs « partials « templates « src - github.com/mozilla/ssl-config-generator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 035dc81a6a7a61c9a012cf7fc382548b19498048 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# {{output.header}}
# {{{output.link}}}
ssl = required

ssl_cert = </path/to/signed_cert_plus_intermediates
ssl_key = </path/to/private_key
{{#if output.usesDhe}}

  {{#if (minver "2.3.0" form.serverVersion)}}
# {{output.dhCommand}} > /path/to/dhparam
ssl_dh = </path/to/dhparam
  {{else}}
ssl_dh_parameters_length = {{output.dhParamSize}}
  {{/if}}
{{/if}}

# {{form.config}} configuration
{{#if (minver "2.3.0" form.serverVersion)}}
ssl_min_protocol = {{output.protocols.[0]}}
{{else}}
ssl_protocols = {{join output.protocols " "}}
{{/if}}
{{#if output.ciphers.length}}
ssl_cipher_list = {{{join output.ciphers ":"}}}
{{/if}}
ssl_prefer_server_ciphers = {{#if output.serverPreferredOrder}}yes{{else}}no{{/if}}