ssl optionnal

This commit is contained in:
2022-06-23 14:12:50 +02:00
parent 6c0dc04f49
commit 58612a972a
3 changed files with 18 additions and 13 deletions

View File

@@ -1,6 +1,7 @@
--- ---
- name: install mandatory packages - name: install mandatory packages
package: apt:
cache_valid_time: 3600
state: present state: present
name: name:
- git - git

View File

@@ -22,12 +22,14 @@
SetEnv DEBUG 1 SetEnv DEBUG 1
Options +FollowSymLinks Options +FollowSymLinks
SSLEngine on <IfModule mod_ssl>
SSLProtocol all -SSLv2 SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW SSLProtocol all -SSLv2
SSLCertificateFile {{ koha_apache_ssl_cert }} SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
SSLCertificateKeyFile {{ koha_apache_ssl_key }} SSLCertificateFile {{ koha_apache_ssl_cert }}
SSLCertificateChainFile {{ koha_apache_ssl_chain }} SSLCertificateKeyFile {{ koha_apache_ssl_key }}
SSLCertificateChainFile {{ koha_apache_ssl_chain }}
</IfModule>
ErrorDocument 400 /cgi-bin/koha/errors/400.pl ErrorDocument 400 /cgi-bin/koha/errors/400.pl
ErrorDocument 401 /cgi-bin/koha/errors/401.pl ErrorDocument 401 /cgi-bin/koha/errors/401.pl

View File

@@ -19,12 +19,14 @@
Include /etc/koha/apache-shared-opac-plack.conf Include /etc/koha/apache-shared-opac-plack.conf
SSLEngine on <IfModule mod_ssl>
SSLProtocol all -SSLv2 SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW SSLProtocol all -SSLv2
SSLCertificateFile {{ koha_apache_ssl_cert }} SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
SSLCertificateKeyFile {{ koha_apache_ssl_key }} SSLCertificateFile {{ koha_apache_ssl_cert }}
SSLCertificateChainFile {{ koha_apache_ssl_chain }} SSLCertificateKeyFile {{ koha_apache_ssl_key }}
SSLCertificateChainFile {{ koha_apache_ssl_chain }}
</IfModule>
<Directory "{{ koha_install_dir }}/opac/htdocs"> <Directory "{{ koha_install_dir }}/opac/htdocs">
Options -Indexes Options -Indexes