From ffdc6d5280cfd38b9e0e8dc05a64176b90a92b2f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andrej=20Rama=C5=A1euski?= <andrej@sedlistka.cz>
Date: Wed, 11 Dec 2019 22:13:28 +0100
Subject: [PATCH] Zbytecne neregenerovat certifikaty

---
 entrypoint.sh        | 2 +-
 mod_auth_mellon.conf | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/entrypoint.sh b/entrypoint.sh
index bf47e8d..859fc47 100755
--- a/entrypoint.sh
+++ b/entrypoint.sh
@@ -30,7 +30,7 @@ if [ ! -f /etc/apache2/saml2/idp.xml ]; then
 fi
 
 # Create mod_auth_mellon service provider config
-if [ ! -f /etc/apache2/saml2/${HOST}.xml ]; then
+if [ ! -f /etc/apache2/saml2/sp.xml ]; then
     pushd /etc/apache2/saml2
      echo -e "Generating new service provider certificate.\n\n" 
      /usr/sbin/mellon_create_metadata https://${HOST}/mellon/metadata https://${HOST}/mellon
diff --git a/mod_auth_mellon.conf b/mod_auth_mellon.conf
index cbcacde..7b9b0ac 100644
--- a/mod_auth_mellon.conf
+++ b/mod_auth_mellon.conf
@@ -5,7 +5,6 @@
  MellonSPCertFile       /etc/apache2/saml2/sp.cert
  MellonSPMetadataFile   /etc/apache2/saml2/sp.xml
  MellonIdPMetadataFile  /etc/apache2/saml2/idp.xml
- MellonSignatureMethod rsa-sha1
 </Location>
 
 <Location /admin >
-- 
GitLab