Skip to content
Snippets Groups Projects
Commit ffdc6d52 authored by Andrej Ramašeuski's avatar Andrej Ramašeuski
Browse files

Zbytecne neregenerovat certifikaty

parent 15df0ee4
No related branches found
No related tags found
No related merge requests found
Pipeline #99 passed
...@@ -30,7 +30,7 @@ if [ ! -f /etc/apache2/saml2/idp.xml ]; then ...@@ -30,7 +30,7 @@ if [ ! -f /etc/apache2/saml2/idp.xml ]; then
fi fi
# Create mod_auth_mellon service provider config # 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 pushd /etc/apache2/saml2
echo -e "Generating new service provider certificate.\n\n" echo -e "Generating new service provider certificate.\n\n"
/usr/sbin/mellon_create_metadata https://${HOST}/mellon/metadata https://${HOST}/mellon /usr/sbin/mellon_create_metadata https://${HOST}/mellon/metadata https://${HOST}/mellon
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
MellonSPCertFile /etc/apache2/saml2/sp.cert MellonSPCertFile /etc/apache2/saml2/sp.cert
MellonSPMetadataFile /etc/apache2/saml2/sp.xml MellonSPMetadataFile /etc/apache2/saml2/sp.xml
MellonIdPMetadataFile /etc/apache2/saml2/idp.xml MellonIdPMetadataFile /etc/apache2/saml2/idp.xml
MellonSignatureMethod rsa-sha1
</Location> </Location>
<Location /admin > <Location /admin >
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment