pagure / staging: use normal cert, not bundle for stunnel

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2021-09-08 12:28:16 -07:00
parent af53fd848b
commit 1176de7808
3 changed files with 2 additions and 4 deletions

View file

@ -366,7 +366,6 @@
website: mirrors.centos.org
destname: mirrormanager-mirrorlist
proxyurl: http://localhost:10002
when: env == "staging"
- role: httpd/reverseproxy
website: download.fedoraproject.org

View file

@ -158,8 +158,7 @@
server_aliases:
- mirrors.stg.centos.org
cert_name: "{{mirrors_centos_org_cert_name}}"
SSLCertificateChainFile: mirrors.stg.centos.org.intermediate.cert
when: env == "staging"
SSLCertificateChainFile: "mirrors{{env_suffix}}.centos.org.intermediate.cert"
- role: httpd/website
site_name: src.fedoraproject.org

View file

@ -1,5 +1,5 @@
{% if env == 'pagure-staging' %}
cert = /etc/pki/tls/certs/stg.pagure.io.bundle.cert
cert = /etc/pki/tls/certs/stg.pagure.io.cert
key = /etc/pki/tls/private/stg.pagure.io.key
{% else %}
cert = /etc/pki/tls/certs/pagure.io.cert