lets break all the things
This commit is contained in:
parent
4d87922f7b
commit
e3e3317a3d
12 changed files with 34 additions and 27 deletions
|
@ -124,6 +124,9 @@ max_cpu: "{{ num_cpus * 5 }}"
|
||||||
# This is the wildcard certname for our proxies. It has a different name for
|
# This is the wildcard certname for our proxies. It has a different name for
|
||||||
# the staging group and is used in the proxies.yml playbook.
|
# the staging group and is used in the proxies.yml playbook.
|
||||||
wildcard_cert_name: wildcard-2017.fedoraproject.org
|
wildcard_cert_name: wildcard-2017.fedoraproject.org
|
||||||
|
wildcard_crt_file: wildcard-2017.fedoraproject.org.cert
|
||||||
|
wildcard_key_file: wildcard-2017.fedoraproject.org.key
|
||||||
|
wildcard_int_file: wildcard-2017.fedoraproject.org.intermediate.cert
|
||||||
|
|
||||||
# Everywhere, always, we should sign messages and validate signatures.
|
# Everywhere, always, we should sign messages and validate signatures.
|
||||||
# However, we allow individual hosts and groups to override this. Use this very
|
# However, we allow individual hosts and groups to override this. Use this very
|
||||||
|
|
|
@ -6,6 +6,10 @@ host_group: staging
|
||||||
|
|
||||||
# This is the wildcard certname for our stg proxies.
|
# This is the wildcard certname for our stg proxies.
|
||||||
wildcard_cert_name: wildcard-2017.stg.fedoraproject.org
|
wildcard_cert_name: wildcard-2017.stg.fedoraproject.org
|
||||||
|
wildcard_cert_file: wildcard-2017.stg.fedoraproject.org.cert
|
||||||
|
wildcard_key_file: wildcard-2017.stg.fedoraproject.org.key
|
||||||
|
wildcard_int_file: wildcard-2017.stg.fedoraproject.org.intermediate.cert
|
||||||
|
|
||||||
|
|
||||||
# This only does anything if the host is not RHEL6
|
# This only does anything if the host is not RHEL6
|
||||||
collectd_graphite: True
|
collectd_graphite: True
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
- rsyncd
|
- rsyncd
|
||||||
- apache
|
- apache
|
||||||
- httpd/mod_ssl
|
- httpd/mod_ssl
|
||||||
- { role: httpd/certificate, name: wildcard-2014.fedoraproject.org, SSLCertificateChainFile: wildcard-2014.fedoraproject.org.intermediate.cert }
|
- { role: httpd/certificate, name: "{{wildcard_cert_name}}", SSLCertificateChainFile: "{{wildcard_int_file}}}" }
|
||||||
- openvpn/client
|
- openvpn/client
|
||||||
- batcave
|
- batcave
|
||||||
|
|
||||||
|
|
|
@ -59,24 +59,24 @@
|
||||||
- httpd/mod_ssl
|
- httpd/mod_ssl
|
||||||
|
|
||||||
- role: httpd/certificate
|
- role: httpd/certificate
|
||||||
name: wildcard-2014.stg.fedoraproject.org
|
name: wildcard-2017.stg.fedoraproject.org
|
||||||
SSLCertificateChainFile: wildcard-2014.stg.fedoraproject.org.intermediate.cert
|
SSLCertificateChainFile: wildcard-2017.stg.fedoraproject.org.intermediate.cert
|
||||||
when: env == "staging"
|
when: env == "staging"
|
||||||
|
|
||||||
- role: httpd/website
|
- role: httpd/website
|
||||||
name: mirrorlist-phx2.stg.phx2.fedoraproject.org
|
name: mirrorlist-phx2.stg.phx2.fedoraproject.org
|
||||||
cert_name: wildcard-2014.stg.fedoraproject.org
|
cert_name: wildcard-2017.stg.fedoraproject.org
|
||||||
SSLCertificateChainFile: wildcard-2014.stg.fedoraproject.org.intermediate.cert
|
SSLCertificateChainFile: wildcard-2017.stg.fedoraproject.org.intermediate.cert
|
||||||
when: env == "staging"
|
when: env == "staging"
|
||||||
|
|
||||||
- role: httpd/certificate
|
- role: httpd/certificate
|
||||||
name: wildcard-2014.fedoraproject.org
|
name: wildcard-2017.fedoraproject.org
|
||||||
SSLCertificateChainFile: wildcard-2014.fedoraproject.org.intermediate.cert
|
SSLCertificateChainFile: wildcard-2017.fedoraproject.org.intermediate.cert
|
||||||
when: env != "staging"
|
when: env != "staging"
|
||||||
|
|
||||||
- role: httpd/website
|
- role: httpd/website
|
||||||
name: mirrorlist-phx2.fedoraproject.org
|
name: mirrorlist-phx2.fedoraproject.org
|
||||||
cert_name: wildcard-2014.fedoraproject.org
|
cert_name: wildcard-2017.fedoraproject.org
|
||||||
server_aliases:
|
server_aliases:
|
||||||
- mirrorlist-dedicatedsolutions.fedoraproject.org
|
- mirrorlist-dedicatedsolutions.fedoraproject.org
|
||||||
- mirrorlist-host1plus.fedoraproject.org
|
- mirrorlist-host1plus.fedoraproject.org
|
||||||
|
|
|
@ -75,8 +75,8 @@
|
||||||
- role: apache
|
- role: apache
|
||||||
|
|
||||||
- role: httpd/certificate
|
- role: httpd/certificate
|
||||||
name: wildcard-2014.fedorapeople.org
|
name: "{{wildcard_cert_name}}"
|
||||||
SSLCertificateChainFile: wildcard-2014.fedorapeople.org.intermediate.cert
|
SSLCertificateChainFile: "{{wildcard_int_file}}"
|
||||||
|
|
||||||
- people
|
- people
|
||||||
|
|
||||||
|
|
|
@ -37,8 +37,8 @@
|
||||||
- role: httpd/mod_ssl
|
- role: httpd/mod_ssl
|
||||||
|
|
||||||
- role: httpd/certificate
|
- role: httpd/certificate
|
||||||
name: wildcard-2014.fedoraproject.org
|
name: "{{wildcard_cert_name}}"
|
||||||
SSLCertificateChainFile: wildcard-2014.fedoraproject.org.intermediate.cert
|
SSLCertificateChainFile: "{{wildcard_int_file}}"
|
||||||
|
|
||||||
- role: httpd/website
|
- role: httpd/website
|
||||||
name: secondary.fedoraproject.org
|
name: secondary.fedoraproject.org
|
||||||
|
|
|
@ -26,8 +26,8 @@
|
||||||
- role: httpd/mod_ssl
|
- role: httpd/mod_ssl
|
||||||
|
|
||||||
- role: httpd/certificate
|
- role: httpd/certificate
|
||||||
name: wildcard-2014.fedoraproject.org
|
name: "{{wildcard_cert_name}}"
|
||||||
SSLCertificateChainFile: wildcard-2014.fedoraproject.org.intermediate.cert
|
SSLCertificateChainFile: "{{wildcard_int_name}}"
|
||||||
|
|
||||||
- role: httpd/website
|
- role: httpd/website
|
||||||
name: torrent.fedoraproject.org
|
name: torrent.fedoraproject.org
|
||||||
|
|
|
@ -110,9 +110,9 @@ ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
|
||||||
/usr/libexec/git-core/git-http-backend/$1
|
/usr/libexec/git-core/git-http-backend/$1
|
||||||
|
|
||||||
SSLEngine on
|
SSLEngine on
|
||||||
SSLCertificateFile /etc/pki/tls/certs/wildcard-2014.fedoraproject.org.cert
|
SSLCertificateFile /etc/pki/tls/certs/{{ wildcard_crt_file }}
|
||||||
SSLCertificateKeyFile /etc/pki/tls/private/wildcard-2014.fedoraproject.org.key
|
SSLCertificateKeyFile /etc/pki/tls/private/{{ wildcard_key_file }}
|
||||||
SSLCertificateChainFile /etc/pki/tls/certs/wildcard-2014.fedoraproject.org.intermediate.cert
|
SSLCertificateChainFile /etc/pki/tls/certs/{{ wildcard_int_file }}
|
||||||
|
|
||||||
Header always add Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"
|
Header always add Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"
|
||||||
|
|
||||||
|
|
|
@ -15,9 +15,9 @@
|
||||||
|
|
||||||
|
|
||||||
SSLEngine on
|
SSLEngine on
|
||||||
SSLCertificateFile /etc/pki/tls/certs/wildcard-2017.fedoraproject.org.cert
|
SSLCertificateFile {{ wildcard_crt_file }}
|
||||||
SSLCertificateKeyFile /etc/pki/tls/private/wildcard-2017.fedoraproject.org.key
|
SSLCertificateKeyFile {{ wildcard_key_file }}
|
||||||
SSLCertificateChainFile /etc/pki/tls/certs/wildcard-2017.fedoraproject.org.intermediate.cert
|
SSLCertificateChainFile {{ wildcard_int_file }}
|
||||||
SSLHonorCipherOrder On
|
SSLHonorCipherOrder On
|
||||||
|
|
||||||
# https://fedorahosted.org/fedora-infrastructure/ticket/4101#comment:14
|
# https://fedorahosted.org/fedora-infrastructure/ticket/4101#comment:14
|
||||||
|
|
|
@ -82,8 +82,8 @@
|
||||||
|
|
||||||
- name: put our combined cert in place
|
- name: put our combined cert in place
|
||||||
copy: >
|
copy: >
|
||||||
src={{private}}/files/httpd/wildcard-2014.fedoraproject.org.combined.cert
|
src={{private}}/files/httpd/wildcard-2017.fedoraproject.org.combined.cert
|
||||||
dest=/etc/pki/tls/certs/wildcard-2014.fedoraproject.org.combined.cert
|
dest=/etc/pki/tls/certs/wildcard-2017.fedoraproject.org.combined.cert
|
||||||
owner=root group=root mode=0644
|
owner=root group=root mode=0644
|
||||||
notify: restart stunnel
|
notify: restart stunnel
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
cert = /etc/pki/tls/certs/wildcard-2014.fedoraproject.org.combined.cert
|
cert = /etc/pki/tls/certs/wildcard-2017.fedoraproject.org.combined.cert
|
||||||
key = /etc/pki/tls/private/wildcard-2014.fedoraproject.org.key
|
key = /etc/pki/tls/private/wildcard-2017.fedoraproject.org.key
|
||||||
pid = /var/run/stunnel.pid
|
pid = /var/run/stunnel.pid
|
||||||
|
|
||||||
[{{ stunnel_service }}]
|
[{{ stunnel_service }}]
|
||||||
|
|
|
@ -27,9 +27,9 @@ NameVirtualHost *:80
|
||||||
DocumentRoot /srv/people/site
|
DocumentRoot /srv/people/site
|
||||||
|
|
||||||
SSLEngine on
|
SSLEngine on
|
||||||
SSLCertificateFile /etc/pki/tls/certs/wildcard-2014.fedorapeople.org.cert
|
SSLCertificateFile /etc/pki/tls/certs/{{ wildcard_crt_file }}
|
||||||
SSLCertificateKeyFile /etc/pki/tls/private/wildcard-2014.fedorapeople.org.key
|
SSLCertificateKeyFile /etc/pki/tls/private/{{ wildcard_key_file }}
|
||||||
SSLCertificateChainFile /etc/pki/tls/certs/wildcard-2014.fedorapeople.org.intermediate.cert
|
SSLCertificateChainFile /etc/pki/tls/certs/{{ wildcard_int_file }}
|
||||||
SSLHonorCipherOrder On
|
SSLHonorCipherOrder On
|
||||||
SSLCipherSuite {{ ssl_ciphers }}
|
SSLCipherSuite {{ ssl_ciphers }}
|
||||||
SSLProtocol {{ ssl_protocols }}
|
SSLProtocol {{ ssl_protocols }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue