소스 검색

certs: Generate dhparam file on every node. Always.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
Maximilian Wilhelm 6 년 전
부모
커밋
4649e90f9c
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      certs/init.sls

+ 4 - 0
certs/init.sls

@@ -14,6 +14,10 @@ update_ca_certificates:
     - name: /usr/sbin/update-ca-certificates
     - watch: []
 
+generate-dhparam:
+  cmd.run:
+    - name: openssl dhparam -out /etc/ssl/dhparam.pem 4096
+    - creates: /etc/ssl/dhparam.pem
 
 # Install FFHO internal CA into Debian CA certificate mangling mechanism so
 # libraries (read: openssl) can use the CA cert when validating internal