26.29. governikus-eumw(1)#

26.29.1. Name#

governikus-eumw - Governikus eIDAS Middleware, an eID server for the German identity card

26.29.2. Synopsis#

governikus-eumw [–PROPERTY=VALUE …]

26.29.3. Description#

governikus-eumw runs the Governikus eIDAS Middleware (version 4.1.0, EUPL-1.2), which performs the server side of the online identification with the German identity card, the eID card for EU citizens and the electronic residence permit. It talks to the person’s eID client (AusweisApp) over PAOS, runs Extended Access Control with the service provider’s authorisation certificate (Terminal and Chip Authentication), checks the card’s EF.CardSecurity against the master list (Passive Authentication) and the card against the block list, and reads the data the certificate allows. It answers over its eIDAS SAML interface.

KyCH uses it as the eID server of its vocabulary npa, through kych-eumw-bridge(1), which is the middleware’s eIDAS connector and gives kych-oauth2-gateway(1) the KyCH-native helper API. The middleware was built for the eIDAS network – every receiving member state runs one – and serves a domestic service provider the same way: the SAML request names the eID service provider, and with it the authorisation certificate the card sees.

This program is a thin wrapper around java -jar /usr/share/governikus-eumw/governikus-eumw.jar: it picks the Java runtime ($JAVA_HOME, else a Java 25 under /usr/lib/jvm, else java) and runs the middleware in its working directory, $GOVERNIKUS_EUMW_HOME (default /var/lib/governikus-eumw), whose config/ holds application.properties and the admin password. Arguments are passed on, so any Spring Boot property can be given as --name=value.

26.29.4. Interfaces#

/eidas-middleware/... on server.address:server.port

The person’s browser and eID client: the page that starts AusweisApp (RequestReceiver), the tcToken and the PAOS endpoint, the page that posts the SAML response to the connector (ResponseSender), the metadata. The reverse proxy publishes these at the middleware’s server URL.

/admin-interface/... on server.address:server.adminInterfacePort

The administration: key stores and certificates, the BerCA (DVCA), the eID service providers and their authorisation certificates, the connectors’ metadata, the timers. Never published.

KyCH’s patch 0001 makes the admin port listen on server.address too (server.adminInterfaceAddress overrides it); upstream binds it to every address.

26.29.5. Files#

/etc/governikus-eumw/application.properties

What the middleware reads at start: the ports and the address, plain HTTP behind the reverse proxy, the database (HSQLDB under /var/lib/governikus-eumw/database), the block list folder.

/etc/governikus-eumw/secrets/database.properties

spring.datasource.password, generated on the first install.

/var/lib/governikus-eumw/

The working directory: config/ (the settings as a link, and password.properties), database/, block-list-data/.

26.29.6. Environment#

JAVA_HOME

The Java runtime to use.

GOVERNIKUS_EUMW_JAR, GOVERNIKUS_EUMW_HOME

The jar and the working directory, for a hand-run middleware.

GOVERNIKUS_EUMW_JAVA_OPTS

Options for the JVM.

26.29.7. What it needs#

A Berechtigung (authorisation to read identity card data) from the Bundesverwaltungsamt’s Vergabestelle für Berechtigungszertifikate (VfB), and a contract with an authorisation CA (BerCA) – D-Trust in production, Governikus for tests with test cards – from which the middleware fetches its authorisation certificates, the block list, the master and the defect list over BSI TR-03129 (SOAP, TLS client authentication). The package’s README.Debian lists the setup steps; KyCH’s test environment (testing/npa/ in its source) replaces the BerCA with a mock and the card with AusweisApp’s simulator.

26.29.8. See also#

kych-eumw-bridge(1), kych-oauth2-gateway(1), kych.conf(5).

The middleware’s manual: Governikus/eidas-middleware (doc/source).