26.27. eidas-node-connector(1)#
26.27.1. Name#
eidas-node-connector - EU eIDAS-Node Connector for KyCH’s eidas vocabulary
26.27.2. Synopsis#
eidas-node-connector
26.27.3. Description#
eidas-node-connector runs the Connector of the European Commission’s
eIDAS-Node (release 3.1.0, EUPL-1.2) in a Tomcat 11 of its own. The
Connector is the receiving side of the eIDAS network: it lets a service
provider in its member state accept other member states’ notified
electronic identification means. KyCH uses it for its vocabulary eidas,
with kych-eumw-bridge(1) as the Connector’s member-state-specific part:
the bridge hands the Connector a light request through the Connector’s Hazelcast cache and sends the person’s browser to
/EidasNodeConnector/SpecificConnectorRequestwith the light token that names it;the Connector sends the browser to the proxy service of the person’s country with a signed eIDAS SAML AuthnRequest; the proxy service fetches the Connector’s metadata (
/EidasNodeConnector/ConnectorMetadata), which is signed by the Connector’s metadata signer;the proxy service’s signed SAML response, its assertion encrypted to the Connector, comes back by the browser to
/EidasNodeConnector/ColleagueResponse; the Connector checks it against the proxy service’s metadata (fetched from the configured URL and checked against the trusted metadata signers), decrypts it, checks destination, audience, validity, InResponseTo, the level of assurance and replay, and sends the browser to the bridge (specific.connector.response.receiver) with a light token for the light response.
The package’s build carries one patch of KyCH’s (eidas-node/patches/0001): with the light response, the Connector puts the proxy service’s signed answer into its cache – the SAML response as received and the decrypted assertion, the issuer, the certificate the signatures were checked against – for the bridge to keep as evidence. The release itself hands its member-state-specific part nothing of it.
This program prepares Tomcat’s base in /var/lib/eidas-node-connector
(Tomcat’s default configuration, /usr/share/eidas-node-connector/server.xml
with the socket, the war) and runs catalina.sh run.
eidas-node-connector.service runs it as user eidas-node-connector;
configure it first with eidas-node-connector-setup(1).
26.27.4. Environment#
/etc/default/eidas-node-connector is read by the unit.
EIDAS_CONNECTOR_CONFIG_REPOSITORY(default/etc/eidas-node-connector/)The Connector’s configuration directory.
EIDAS_NODE_CONNECTOR_SOCKET(default/run/eidas-node-connector/http.sock)Tomcat’s HTTP connector, for the reverse proxy (
/usr/share/eidas-node-connector/nginx/); mode 0660, groupwww-data.EIDAS_NODE_CONNECTOR_PORTA loopback TCP port instead of the socket.
EIDAS_NODE_CONNECTOR_JAVA_OPTSMore JVM options, e.g.
-Xmx1g.JAVA_HOMEThe Java runtime; default the first of Java 21, 17.
CATALINA_HOME(default/usr/share/tomcat11),CATALINA_BASE(default/var/lib/eidas-node-connector)Tomcat’s installation and the instance’s base.
26.27.5. Files#
/etc/eidas-node-connector/The Connector’s configuration (eidas-node-connector-setup(1)), group
eidas-node-connector, which kych-eumw-bridge’s user joins./var/lib/eidas-node-connector/logs/Tomcat’s and the Connector’s logs (
LOG_HOME). They may hold personal data (the release’s own warning)./usr/share/eidas-node-connector/EidasNodeConnector.warThe Connector, with its caches on Hazelcast.
26.27.6. Security#
The Connector’s Hazelcast caches (two clusters, from
eidas-node-connector-setup’s --hazelcast-port) listen on loopback and
have no authentication: whoever can open a TCP connection on this host can
read the light messages – the attributes of a person for a few minutes –
and write light requests. Run the Connector and the bridge on a host of
their own, or at least one without untrusted local users.
26.27.7. See also#
eidas-node-connector-setup(1), kych-eumw-bridge(1), kych.conf(5).