Sin descripción
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ssl.yml 789B

1234567891011121314151617181920212223
  1. - name: Create strong Diffie-Hellman group
  2. command: openssl dhparam -out /etc/ssl/private/dhparam2048.pem 2048
  3. creates=/etc/ssl/private/dhparam2048.pem
  4. - name: Enable Apache SSL module
  5. command: a2enmod ssl creates=/etc/apache2/mods-enabled/ssl.load
  6. notify: restart apache
  7. - name: Enable Apache SOCACHE_SHMCB module for the SSL stapling cache
  8. command: a2enmod socache_shmcb
  9. creates=/etc/apache2/mods-enabled/socache_shmcb.load
  10. notify: restart apache
  11. - name: Add common Apache SSL config
  12. template: src=etc_apache2_conf-available_ssl.conf.j2
  13. dest=/etc/apache2/conf-available/ssl.conf
  14. owner=root
  15. group=root
  16. notify: restart apache
  17. - name: Enable Apache SSL config
  18. command: a2enconf ssl creates=/etc/apache2/conf-enabled/ssl.conf
  19. notify: restart apache