Registration services

To use the registration services, you will need a TUHH-Account required.

 

Shibboleth

The Shibboleth Identity Provider enables TUHH members and affiliates to access both TUHH’s own resources and external resources within a federation (DFN-AAI).

 

Shibboleth is the standard implementation of the SAML protocol and has been in use worldwide for more than 20 years, primarily at universities – mainly for authentication on publishing services, research and e-learning portals.

It was designed for the authentication of web-based services and enables single sign-on (SSO), allowing users to authenticate once and then seamlessly access various other services without having to log in multiple times.

Identity information is only transferred to external services with the user’s consent and in a transparent manner. Authorisation is based on defined policies and rules that ensure that only authorised information is disclosed in accordance with data protection and security requirements.

 

Information for staff, DVBs and lecturers

If you wish to make new web applications available to TUHH users via Shibboleth, please contact the IT Service Centre with your request.

For authentication and authorisation, the identity provider supports the SAML (Security Assertion Markup Language) and OIDC (OpenID Connect) protocols.

For new web applications where users are to log in via Shibboleth using TUHH accounts in future, the following scenarios may arise:

  • An external provider has already registered a service within a federation for global use. In this case, the service is either already available for direct use, or the account attributes required for the application must still be authorised by the identity provider. In some circumstances, it may also be necessary to clarify licence costs.
  • A new service is to be offered on-premises as part of a long-term project. In this case, by specifying the required user attributes, this service can be registered with the DFN-AAI by the IT Centre as a ‘local’ service. A TUHH member of staff must be designated as the technical contact, and in addition to the initial set-up, there will be administrative work involved in the annual certificate renewals.
     

Kerberos

Kerberos is an authentication service and, at the same time, a network authentication protocol designed to enable users and services to verify their identities securely on networks.

Kerberos is used in the background for authentication with the following data centre services:

Kerberos is mainly used to run services on servers. However, it can also be used on workstations.

Use of Kerberos on workstations

Kerberos uses a centralised, ticket-based system in which a so-called Key Distribution Centre (KDC) issues Ticket-Granting Tickets (TGTs), which allow users to authenticate themselves to various services without having to enter their password multiple times.

This enables users to access the SSH server, the HPC cluster and the Shibboleth service within a ticket’s 10-hour validity period without having to re-enter their password. When combined with a desktop login, this means that users only need to enter their password once to access a range of other services without having to re-enter it.
 

Conditions of use

You need a valid Kerberos ticket on the computer you are currently using, as well as a network connection to the Kerberos server. This is only possible within the TUHH or via VPN.

Linux

On Linux, you create a file called /etc/krb5.conf and install the “krb5-client” package (Debian, Ubuntu, etc.) or “krb5-workstation” (RedHat, Alma, etc.). You can then log in using the command

 

kinit -f cxx0000@KERBEROS.TU-HARBURG.DE

 

obtain a valid ticket by entering their password.

Alternatively, you can configure the window manager so that you receive a ticket as soon as you log in to the computer; this is how it works in the Linux pool. Unfortunately, it is not possible to provide precise configuration instructions here due to the many different Linux distributions and the rapid changes to the configuration interfaces.

Password-free access to the SSH server (and, similarly, to computers in the Linux pool) can be obtained by adding the following configuration block to the file ~/.ssh/config:
 

 

host ssh
hostname ssh.rz.tuhh.de
GSSAPIAuthentication yes
GSSAPIDelegateCredentials yes

 

The "GSSAPIDelegateCredentials" setting, in conjunction with the "-f" option when running kinit, ensures that the ticket-granting ticket can be transferred from the local machine to the SSH server. The SSH server requires this ticket to obtain further tickets for access to the various file systems.

Windows

On Windows, you can either use Windows’ own Kerberos libraries in SSPI or ‘Kerberos for Windows’ (KfW) from MIT.

 

For the former, you either need single-user Kerberisation or a computer that is entirely within the TU-HARBURG.DE domain (e.g. a Windows pool computer).

GSSAPI can be enabled in Thunderbird in the same way as on Linux. If you are using KfW, you must also enter the path to the KfW gssapi DLL under Edit->Preferences->Config Editor in the `network.negotiate-auth.gsslib` setting, and set `network.negotiate-auth.using-native-gsslib` to false.

For SSH access, there are special versions of PuTTY that include GSSAPI. WinSCP already has GSSAPI built in; you simply need to enable the relevant option.

 

Shibboleth with a Kerberos ticket

To ensure that the Shibboleth service accepts your Kerberos ticket, two settings need to be configured.

 

  1. In the web browser, ticket sharing must be enabled: For Firefox, enter ‘about:config’ in the address bar and add ‘https://shib.rz.tuhh.de’ to the ‘network.negotiate-auth.trusted-uris’ parameter.
  2. For Chrome / Chromium on Linux, there are two ways to share the ticket: The command-line parameter "--auth-server-allowlist=*.rz.tuhh.de" allows access to the ticket on a per-session basis.
  3. For a permanent solution, create a directory named /etc/chromium/policies/managed/ whilst logged in as root and set the configuration in /etc/chromium/policies/managed/tuhh.json. You can check the enabled policies at chrome://policy/ and, if necessary, reload them using “Reload policies”.
  4. Vivaldi on Linux behaves identically to Chrome, with the following adapted paths: /etc/vivaldi/policies/managed/tuhh.json or vivaldi:policy
  5. Finally, you must tick the option “Automatically attempt desktop login if available” at shib.rz.tuhh.de/idp/profile/user/prefs (no need to save). This sets a cookie.
  6. Note: Shibboleth deletes the setting mentioned in point 2 every time authentication fails. For example, because you did not close the browser overnight and your ticket has expired.

     

[Translate to English:] tuhh.json

[Translate to English:] Chrome / Chromium