瀏覽代碼

openvpn: Use system dhparam which are always present (by certs state)

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm 3 年之前
父節點
當前提交
70219196cd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      openvpn/openvpn.conf.tmpl

+ 1 - 1
openvpn/openvpn.conf.tmpl

@@ -36,7 +36,7 @@ push "route remote_host  255.255.255.255 net_gateway"
 ca      /etc/ssl/certs/ffho-cacert.pem
 cert    /etc/ssl/certs/{{ host_config.get ('cert_cn', grains['id']) }}.cert.pem
 key     /etc/ssl/private/{{ host_config.get ('cert_cn', grains['id']) }}.key.pem
-dh      /etc/openvpn/dh1024.pem
+dh      /etc/ssl/dhparam.pem
 
 script-security 2
 up      /etc/openvpn/ifup