conf-10-ssl.rb 845 B

1234567891011121314151617181920
  1. # conf.d/10-ssl.conf
  2. default['dovecot']['conf']['ssl'] = nil
  3. case node['platform']
  4. when 'redhat','centos','scientific','fedora','suse','amazon' then
  5. default['dovecot']['conf']['ssl_cert'] = '</etc/pki/dovecot/certs/dovecot.pem'
  6. default['dovecot']['conf']['ssl_key'] = '</etc/pki/dovecot/private/dovecot.pem'
  7. # when 'debian', 'ubuntu' then
  8. else
  9. default['dovecot']['conf']['ssl_cert'] = '</etc/ssl/certs/dovecot.pem'
  10. default['dovecot']['conf']['ssl_key'] = '</etc/ssl/private/dovecot.pem'
  11. end
  12. default['dovecot']['conf']['ssl_key_password'] = nil
  13. default['dovecot']['conf']['ssl_ca'] = nil
  14. default['dovecot']['conf']['ssl_verify_client_cert'] = nil
  15. default['dovecot']['conf']['ssl_cert_username_field'] = nil
  16. default['dovecot']['conf']['ssl_parameters_regenerate'] = nil
  17. default['dovecot']['conf']['ssl_cipher_list'] = nil