conf-10-ssl.rb 999 B

1234567891011121314151617181920212223
  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'
  8. default['dovecot']['conf']['ssl_cert'] = '</etc/dovecot/dovecot.pem'
  9. default['dovecot']['conf']['ssl_key'] = '</etc/dovecot/private/dovecot.pem'
  10. # when 'ubuntu'
  11. else
  12. default['dovecot']['conf']['ssl_cert'] = '</etc/ssl/certs/dovecot.pem'
  13. default['dovecot']['conf']['ssl_key'] = '</etc/ssl/private/dovecot.pem'
  14. end
  15. default['dovecot']['conf']['ssl_key_password'] = nil
  16. default['dovecot']['conf']['ssl_ca'] = nil
  17. default['dovecot']['conf']['ssl_verify_client_cert'] = nil
  18. default['dovecot']['conf']['ssl_cert_username_field'] = nil
  19. default['dovecot']['conf']['ssl_parameters_regenerate'] = nil
  20. default['dovecot']['conf']['ssl_cipher_list'] = nil