Enable forward secrecy by default.

fix #26
This commit is contained in:
Antoine Nguyen
2016-03-29 14:57:41 +02:00
parent dfbab52ee1
commit 098fb207e0
2 changed files with 14 additions and 0 deletions

View File

@@ -62,3 +62,7 @@ class Postfix(base.Installer):
.format(python_path, script_path, self.dbengine,
" ".join(extensions), db_url, self.config_dir))
utils.exec_cmd(cmd)
# Generate EDH parameters
cmd = "openssl dhparam -out dh2048.pem 2048"
utils.exec_cmd(cmd, cwd=self.config_dir)