...
If this page does not answer your questions or you need some more information about this service, please contact us at support@edugain.org.
Check performed on the IdPs
...
- It retrieves the eduGAIN IdPs from eduGAIN Operator Team database via access API.
- For each IdP the ECCS script:
- doesn't check disabled IdP (added manually by an eduGAIN Operations Team via Python dictionary or dinamically by IdP administrator via "robots.txt");
- verifies the SSL certificate;
- creates a Wayfless URL for two selected SP;
- tries to reach the IdP login page for both SPs without performing any authentication.
It expects to find the HTML form with username and password fields. Therefore, no complete login will happen at the Identity Provider because the check stops at the login page.
The SPs used for the check are "SP Demo" (https://sp-demo.idem.garr.it/shibboleth) from IDEM GARR AAI and the "AAI Viewer Interfederation Test" (https://attribute-viewer.aai.switch.ch/interfederation-test/shibboleth) from SWITCHaai. These SPs might change in the future if it will be needed.
The SAML authentication request sent is not signed. Therefore, authentication request for any eduGAIN SP could be created because the SP's private key is not needed.
- At the end of the execution, the script is run again for those IdPs that have been failed the check due to a problem with the headless Webdriver(Google Chrome) used and writes each problem on the log file.
Statuses and results
The tool uses the following statuses for IdPs:
Status | UI Color | Description and results |
---|---|---|
ERROR | Red |
|
OK | Green |
|
DISABLED | White |
|
Common reasons for check failure
- Verify that you have a valid SSL certificate matching your IdP hostname and with a valid chain. You can test it yourself with the SSL Labs checker: https://www.ssllabs.com/ssltest/
An "SSL-Error" may be related to a missing update of the CAs used by ECCS. If you suspect that this is the case, please contact the eduGAIN support at support@edugaing.org. - Verify that the IP used by the client that is performing the checks, is permitted to reach your IdP: any firewall in-between must be configured to let pass TCP packets with:
- source IP X.X.X.X, source port 1024-65535
- destination YOUR-IDP-IP destination port 443
- Verify that your IdP Login page contains a text that matches with the following regular expression:
pattern_password = '<input[\s]+[^>]*(type=\s*[\'"]password[\'"]|password)[^>]*>';
- Verify that your robots.txt is not unintentionally disabling ECCS.
Limits
There are some situations where the check cannot work reliably. In those cases, it is possible to disable the check for a particular IdP.
The so far known cases where the check might generate a false negative are:
- IdP does not support HTTP or HTTPS with at least SSLv3 or TLS1 or newer (these IdPs are insecure anyway)
- IdP is part of a Hub & Spoke federation (some of them manually have to first approve eduGAIN SPs)
- IdP does not use web-based login form (e.g. HTTP Basic Authentication or X.509 login)
- IdP does not allow requests coming from the ECCS servers: technical-test.edugain.org / technical.edugain.org
- IdP that use more than one <iframe> inside their login page
Disable Checks
In cases where an IdP cannot be reliably checked, it is necessary to create or enrich the robots.txt
file on the IdP's web root with:
...
If it is not possible to create the robots.txt
under the IdP web root directory, the check can be disabled by an operator of the federation, where the IdP is a member, with an email to support@edugain.org.
User interface
The eduGAIN Connectivity Check Service web page is available at https://technical.edugain.org/eccs
...
- https://technical.edugain.org/eccs?reg_auth=http://www.idem.garr.it/&status=ERROR
- https://technical.edugain.org/eccs?reg_auth=http://www.idem.garr.it/&check_result=SSL-Error
API interface
The eduGAIN Connectivity Check has an API interface that provides access to the monitoring results in JSON format.
...
- https://technical.edugain.org/eccs/api/eccsresults?reg_auth=http://www.idem.garr.it/&status=ERROR&format=simple
- https://technical.edugain.org/eccs/api/eccsresults?reg_auth=http://www.idem.garr.it/&status=ERROR
- https://technical.edugain.org/eccs/api/fedstats?reg_auth=http://www.idem.garr.it/
- https://technical.edugain.org/eccs/api/fedstats?reg_auth=http://www.idem.garr.it/&check_result=SSL-Error
GIT repository
https://gitlab.geant.org/edugain/eccs