...
Panel | ||
---|---|---|
Some other Linux distributions also maintain binary installers available from the OS distribution point. For Debian/Ubuntu, please install the |
...
Panel |
---|
The authentication request by the SP includes a timestamp, and the IdP verifies that the timestamp is current, to prevent replay attempts. Requests with an invalid timestamp (either too far in the past, or too far in the future), will be rejected by the IdP, resulting in an error. Therefore, it is essential that your server's system clock is accurate. On Linux servers, this is typically accomplished by running |
Configure the SP software for Touchstone
Panel | ||||||
---|---|---|---|---|---|---|
On a Linux server, the quickest way to get started is to use Touchstone's In the /etc/shibboleth directory (as root), download and run the mit-config-shib.sh script from the touchstone.mit.edu web server, e.g.:
Here is a sample typescript from running the procedure for a web server whose public name (the host name entered by users as the URL to access your application) is mywebsite.mit.edu, but is hosted on a machine named simulacrum.mit.edu:
Notes:
NotesNote that some changes to the shibboleth2.xml, attribute-map.xml, and attribute-policy.xml files will be detected automatically, i.e. without requiring a restart of shibd. Note: The mit-config-shib.sh procedure described above is currently supported on Linux systems only; it should be portable to other UNIX-based systems with minimal effort. Please contact touchstone-support if you are using another operating system and having problems with the mit-config-shib.sh script. The $prefix/etc/shibboleth directory will contain apache.config, apache2.config, apache22.config, and apache24.config, which contain needed and example directives for Apache 1.3, Apache 2.0, Apache 2.2, and Apache 2.4, respectively. If you install from Red Hat RPMs, the appropriate version of this file will be installed in shibd is a daemon that must be running, so make sure it is started at boot time. Installing from Red Hat RPMs also take care of this, by adding shibd as a managed service. The $prefix/etc/shibboleth directory will contain init files (shibd-*) for various other types of installations. On Windows/IIS machines, the shibboleth2.xml.windows-example file in the locker is a good starting point for the shibboleth2.xml file. You will need to edit the file for it to work on your server; please see the comments at the top of the file for the details. The attribute-map.xml file in the locker should work without modification. |
Log Files
Panel |
---|
The Shibboleth Apache module logs by default to httpd's own error log. The Shibboleth daemon logs to shibd.log, shibd_warn.log, and transaction.log in $prefix/var/log/shibboleth/. For information on logging by the SP, please see https://wiki.shibboleth.net/confluence/display/SP3/Logging. |
Protecting Content
Panel |
---|
For information on configuring Shibboleth to protect content, please see the Shibboleth wiki, as well as the information in the sections below. |
Customize the error pages
Panel | ||||
---|---|---|---|---|
You will probably also want to customize the error pages and support contact information listed in the <Errors> element in $prefix/etc/shibboleth/shibboleth2.xml, e.g.:
The error template files are located in $prefix/etc/shibboleth/ (you can override these locations in the <Errors> element). For more information, see https://wiki.shibboleth.net/confluence/display/SP3/Errors |
Letting the IdP know about your application
Letting the IdP know about your application
Panel | ||||
---|---|---|---|---|
Before registering your service provider with the MIT Identity Providers, please make sure that the Shibboleth software is installed and running on your server. You should confirm that Shibboleth is running properly by connecting successfully to https://localhost/Shibboleth.sso/Status from the server; Touchstone support will attempt to confirm the SP configuration by connecting (remotely) to https://myhost/Shibboleth.sso/Metadata.
We also encourage you to send the following optional information with your registration information:
A single Shibboleth SP installation is designed to support multiple applications installed on that server, but there are different deployment and configuration strategies to support multiple applications. At MIT we recommend that each application simply be configured to use a separate Apache vhost; more complex configurations, e.g. creating separate entity IDs for each application, are also possible. For more information, please see: An example of when separate entity IDs are needed would be if one application requires a non-standard set of attributes to be released to it. Please consult with touchstone-support as needed. Once Touchstone support has created your application integration in Okta, we will provide you with the Okta external ID you will need to supply in the configuration procedure (see below) |
Configure the SP software for Touchstone
Panel | ||||||
---|---|---|---|---|---|---|
On a Linux server, the quickest way to get started is to use Touchstone's In the /etc/shibboleth directory (as root), download and run the mit-config-shib.sh script from the touchstone.mit.edu web server, e.g.:
If you are not using the Okta IdP, then you will also need to download the MIT metadata signing certificate, mit-md-cert.pem Here is a sample typescript from running the procedure for a web server whose public name (the host name entered by users as the URL to access your application) is mywebsite.mit.edu, but is hosted on a machine named simulacrum.mit.edu:
Notes:
NotesNote that some changes to the shibboleth2.xml, attribute-map.xml, and attribute-policy.xml files will be detected automatically, i.e. without requiring a restart of shibd. Note: The mit-config-shib.sh procedure described above is currently supported on Linux systems only; it should be portable to other UNIX-based systems with minimal effort. Please contact touchstone-support if you are using another operating system and having problems with the mit-config-shib.sh script. The $prefix/etc/shibboleth directory will contain apache.config, apache2.config, apache22.config, and apache24.config, which contain needed and example directives for Apache 1.3, Apache 2.0, Apache 2.2, and Apache 2.4, respectively. If you install from Red Hat RPMs, the appropriate version of this file will be installed in shibd is a daemon that must be running, so make sure it is started at boot time. Installing from Red Hat RPMs also take care of this, by adding shibd as a managed service. The $prefix/etc/shibboleth directory will contain init files (shibd-*) for various other types of installations. On Windows/IIS machines, the shibboleth2.xml.windows-example file in the locker is a good starting point for the shibboleth2.xml file. You will need to edit the file for it to work on your server; please see the comments at the top of the file for the details. The attribute-map.xml file in the locker should work without modification. |
Log Files
Panel |
---|
The Shibboleth Apache module logs by default to httpd's own error log. The Shibboleth daemon logs to shibd.log, shibd_warn.log, and transaction.log in $prefix/var/log/shibboleth/. For information on logging by the SP, please see https://wiki.shibboleth.net/confluence/display/SP3/Logging. |
Protecting Content
Panel |
---|
For information on configuring Shibboleth to protect content, please see the Shibboleth wiki, as well as the information in the sections below. |
Customize the error pages
Panel | ||||
---|---|---|---|---|
You will probably also want to customize the error pages and support contact information listed in the <Errors> element in $prefix/etc/shibboleth/shibboleth2.xml, e.g.:
The error template files are located in $prefix/etc/shibboleth/ (you can override these locations in the <Errors> element). For more information, see https://wiki.shibboleth.net/confluence/display/SP3/Errors | ||||
Panel | ||||
We also encourage you to send the following optional information with your registration information:
A single Shibboleth SP installation is designed to support multiple applications installed on that server, but there are different deployment and configuration strategies to support multiple applications. At MIT we recommend that each application simply be configured to use a separate Apache vhost; more complex configurations, e.g. creating separate entity IDs for each application, are also possible. For more information, please see: An example of when separate entity IDs are needed would be if one application requires a non-standard set of attributes to be released to it. Please consult with touchstone-support as needed. |
Testing your Shibboleth configuration
...