Univention Bugzilla – Bug 43708
SAML IDP apache configuration sometimes not working
Last modified: 2017-04-04 18:29:46 CEST
It seems that sometimes the ucs-sso.$domainname hostname returns HTTP 404 errors for all simplesamlphp links. If I "apt-get install univention-nagios-*" the problem is fixed. It seems the cgi modules is not being loaded/enabled. # curl 'https://ucs-sso.ucs42-20.dev/simplesamlphp/saml2/idp/metadata.php' <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /saml-bin/php-cgi/simplesamlphp/saml2/idp/metadata.php was not found on this server.</p> <hr> <address>Apache/2.4.10 (Debian) Server at ucs-sso.ucs42-20.dev Port 443</address> </body></html> ==> /var/log/apache2/other_vhosts_access.log <== ucs-sso.ucs42-20.dev:443 10.200.26.20 - - [20/Feb/2017:14:07:51 +0100] "GET /simplesamlphp/saml2/idp/metadata.php HTTP/1.1" 404 3852 "-" "curl/7.38.0"
univention-saml (4.0.6-4): r77280 | Bug #43708: enable required cgi module in postinst
@Alex: Can you revert your system, update it and verify the bug if it works for you then?!
To fix current systems, either update from UCS 4.1 again or execute: ucr set umc/saml/idp-server="$(ucr get umc/saml/idp-server)"
OK: enable apache2 cgi mod in postinst. Reopen: Changelog required
r78010 | Changelog Bug #43708
changelog: A bit generic, but okay Verified
UCS 4.2 has been released: https://docs.software-univention.de/release-notes-4.2-0-en.html https://docs.software-univention.de/release-notes-4.2-0-de.html If this error occurs again, please use "Clone This Bug".