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
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
......
......@@ -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 >
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment