Installing a Security Server
This page summarises the main steps for installing on Ubuntu, together with the values of the GRG ecosystem. For the full procedure and explanations, see the official Security Server documentation:
Before you start, make sure the technical requirements are met.
1. Prepare the operating system
Create the administrator user who will sign in to the administration web interface. Do not use the name xroad; it is reserved by the system.
sudo adduser <username>Set the system locale. Add the following line to /etc/environment:
LC_ALL=en_US.UTF-8sudo apt-get install locales lsb-release
sudo locale-gen en_US.UTF-82. Add the package repository
curl -fsSL https://x-road.eu/gpg/key/public/niis-artifactory-public.gpg | sudo tee /usr/share/keyrings/niis-artifactory-keyring.gpg > /dev/null
echo "deb [signed-by=/usr/share/keyrings/niis-artifactory-keyring.gpg] https://artifactory.niis.org/xroad-release-deb $(lsb_release -sc)-current main" | sudo tee /etc/apt/sources.list.d/xroad.list > /dev/null
sudo apt update3. Install the package
sudo apt install xroad-securityserverThe installer asks for the following:
| Question | What to enter |
|---|---|
| Administrator user name | The user created in step 1 |
| Database address | The suggested local database (unless you use another one) |
| Certificate name for the administration web interface | Server name and IP addresses. The suggested value is usually right. |
| Certificate name for the information system access point | The same |
| Memory configuration | r (the recommendation matched to the server's memory) |
4. Check the installation
sudo systemctl list-units "xroad-*"The services should be in the running state. Then open the administration web interface in a browser:
https://<internal-address-of-the-server>:4000/The server uses a self-signed certificate, so the browser shows a warning. If you are connecting from your internal network, you can continue.
5. Initial configuration
At the first sign-in the following values are asked for:
| Value | In the GRG ecosystem |
|---|---|
| Configuration anchor | Provided by the operator after you are registered as a member |
| Member class | COM or GOV |
| Member code | The code agreed with the operator |
| Security Server code | You choose it. It must be unique among your organisation's servers. |
| Token PIN | You choose it |
Keep the PIN safe
The PIN protects the keys inside the server. If it is lost, the keys cannot be recovered and the certificates have to be obtained again.
Verify the configuration anchor
When the file is imported, the web interface shows a hash. Confirm only after comparing it with the value given by the operator.