26.26. eidas-node-connector-setup(1)#
26.26.1. Name#
eidas-node-connector-setup - configure the EU eIDAS-Node Connector
26.26.2. Synopsis#
eidas-node-connector-setup –public-url URL –country CC –response-receiver URL –service CC=METADATA_URL […] [–trust PEM …] [–tls-ca PEM …] [–metadata-signer-keystore P12 [–metadata-signer-password PW]] [–sector private|public] [–organisation NAME] [–contact-email ADDRESS] [–hazelcast-port PORT] [–bridge-env FILE [–bridge-requester-id URI]] [–regenerate-keys] [–config-dir DIR] [–template DIR]
26.26.3. Description#
eidas-node-connector-setup writes the configuration of
eidas-node-connector(1), /etc/eidas-node-connector, from the eIDAS-Node
release’s own template (/usr/share/eidas-node-connector/config-template):
URLs, country, proxy services, keys, the light tokens’ secrets and the
Hazelcast caches. Run it as root; run it again after changing an option –
the keys, their password and the secrets are kept
(setup-state.json) – and restart the Connector and kych-eumw-bridge.
Keys, generated with keytool(1) on the first run (PKCS#12, in
keystore/):
eidasKeyStore.p12: an RSA 3072 key that signs the AuthnRequests (RSASSA-PSS with SHA-512) and decrypts responses encrypted to it by key transport, and an EC P-256 key for responses encrypted by key agreement; both self-signed certificates, published in the Connector’s metadata;eidasKeyStore_METADATA.p12: the metadata signer. Self-signed unless--metadata-signer-keystoreis given. In Germany a service provider’s connector metadata must be signed with a Metadata-Signer certificate issued by its authorisation CA (BerCA) under the BSI’s “DECVCAeID Metadata Signer Root Germany” (BSI TR-03130-1 2.3.4, CP CVCA-eID 1.2.2): import it with this option;eidasTrustStore.p12: the certificates the proxy services’ metadata may be signed with (--trust) – in production the metadata signers of the other member states, which the BSI (eid@bsi.bund.de) and the eID-server suppliers distribute;eidasTlsTrustStore.p12: further CAs for the proxy services’ TLS certificates (--tls-ca), beside the Java runtime’s.
26.26.4. Options#
- –public-url URL
Where browsers and proxy services reach the Connector,
https://HOST[:PORT]/; its paths areEidasNodeConnector/....- –country CC
The Connector’s member state, ISO 3166-1 alpha-2.
- –response-receiver URL
kych-eumw-bridge’s
/eidas/responseURL (BRIDGE_EIDAS_BASE_URL+response).- –service CC=METADATA_URL
A proxy service: the citizen country it serves and its metadata URL. Repeat for each. Only these URLs are fetched (the metadata whitelist).
- –trust PEM
A certificate the proxy services’ metadata is signed with, or its CA. Without one, no proxy service is trusted.
- –sector (default
private) The SPType the Connector publishes in its metadata. An AML-obliged service provider is private. Empty: none published, and the bridge must send it (
BRIDGE_EIDAS_SP_TYPE).- –hazelcast-port PORT (default 5501)
The specific-communication cache’s first port (5 ports, loopback only); the Connector’s own cache takes the 5 after them.
- –bridge-env FILE
Also write kych-eumw-bridge’s
BRIDGE_EIDAS_*settings for this Connector into FILE (for/etc/kych-eumw-bridge/local.env), with--bridge-requester-idasBRIDGE_EIDAS_REQUESTER_ID.- –regenerate-keys
New keys even if there are some.
26.26.5. Example#
eidas-node-connector-setup --public-url https://eid.example.com/ \
--country DE --response-receiver https://eid.example.com/eidas/response \
--service AT=https://eidas.example.at/EidasNode/ServiceMetadata \
--trust /root/at-metadata-signer.pem \
--metadata-signer-keystore /root/mds-da.p12 --metadata-signer-password ... \
--bridge-env /root/bridge-eidas.env \
--bridge-requester-id https://kych.example.com/
cat /root/bridge-eidas.env >> /etc/kych-eumw-bridge/local.env
systemctl enable --now eidas-node-connector
systemctl restart kych-eumw-bridge
26.26.6. See also#
eidas-node-connector(1), kych-eumw-bridge(1).