Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
123456789101112131415161718 |
- - name: Copy SSL private key into place
- copy: src=wildcard_private.key dest=/etc/ssl/private/wildcard_private.key group=root owner=root
-
- - name: Copy SSL public certificate into place
- copy: src=wildcard_public_cert.crt dest=/etc/ssl/certs/wildcard_public_cert.crt group=root owner=root
-
- - name: Copy CA combined certificate into place
- copy: src=wildcard_ca.pem dest=/etc/ssl/certs/wildcard_ca.pem group=root owner=root
-
- - name: Create a combined version of the public cert with intermediate and root CAs
- shell: cat /etc/ssl/certs/wildcard_public_cert.crt /etc/ssl/certs/wildcard_ca.pem >
- /etc/ssl/certs/wildcard_combined.pem creates=/etc/ssl/certs/wildcard_combined.pem
-
- - name: Enable Apache SSL module
- command: a2enmod ssl creates=/etc/apache2/mods-enabled/ssl.load
-
- - name: Enable NameVirtualHost for HTTPS
- lineinfile: dest=/etc/apache2/ports.conf regexp='^ NameVirtualHost \*:443' insertafter='^<IfModule mod_ssl.c>' line=' NameVirtualHost *:443'
|