Inserted ECDC-specific URLs and certificates

Also updated README to include instructions for manual Beam
registration.
This commit is contained in:
Croft 2024-02-13 13:19:41 +01:00
parent d5760ed3d0
commit 9459e1a979
5 changed files with 55 additions and 44 deletions

View File

@ -182,6 +182,19 @@ sudo ./bridgehead enroll <PROJECT>
... and follow the instructions on the screen. Please send your default Collection ID and the display name of your site together with the certificate request when you enroll. You should then be prompted to do the next step: ... and follow the instructions on the screen. Please send your default Collection ID and the display name of your site together with the certificate request when you enroll. You should then be prompted to do the next step:
Note: if you are doing an ECDC/EHDS2 installation, you will need to perform the Beam certificate signing yourself. Do not send an email to either of the email addreesses suggested by the bridgehead enroll procedure. Instead, log on to the VM where Beam is running and perform the following (you will need root permissions):
```shell
cd /srv/docker/beam-broker
sudo vi csr/ecdc-bridgehead-<national node name>.csr
sudo pki-scripts/managepki sign --csr-file csr/ecdc-bridgehead-<national node name>.csr --common-name=ecdc-bridgehead-<national node name>.broker.bbmri.samply.de
```
You can check that the Bridgehead has connected to Beam with the following command:
```shell
curl -v https://ecdc-vm-ehds-test1.swedencentral.cloudapp.azure.com/v1/health/proxies
```
### Starting and stopping your Bridgehead ### Starting and stopping your Bridgehead
If you followed the above steps, your Bridgehead should already be configured to autostart (via systemd). If you would like to start/stop manually: If you followed the above steps, your Bridgehead should already be configured to autostart (via systemd). If you would like to start/stop manually:

View File

@ -40,13 +40,11 @@ services:
image: samply/transfair image: samply/transfair
environment: environment:
FHIR_INPUT_URL: "http://source_blaze:8080/fhir" FHIR_INPUT_URL: "http://source_blaze:8080/fhir"
FHIR_OUTPUT_URL: "http://bridgehead-bbmri-blaze:8080/fhir" FHIR_OUTPUT_URL: "http://blaze:8080/fhir"
PROFILE: "amr2fhir" PROFILE: "amr2fhir"
#WRITE_BUNDLES_TO_FILE: "true"
AMR_FILE_PATH: "/app/data" AMR_FILE_PATH: "/app/data"
restart: on-failure restart: on-failure
command: sh -c "sleep 60 && rm -rf /app/test/* && java -jar transFAIR.jar && tail -f /dev/null" command: sh -c "sleep 60 && rm -rf /app/test/* && java -jar transFAIR.jar && tail -f /dev/null"
#command: sh -c "rm -rf /app/test/* && java -jar transFAIR.jar"
volumes: volumes:
- /home/gerhard/Projects/EHDS2/PrototypeSpring2024/test/:/app/test/ - /home/gerhard/Projects/EHDS2/PrototypeSpring2024/test/:/app/test/
- /home/gerhard/Projects/EHDS2/PrototypeSpring2024/Data/:/app/data/ - /home/gerhard/Projects/EHDS2/PrototypeSpring2024/Data/:/app/data/
@ -55,5 +53,5 @@ services:
blazectl: blazectl:
container_name: blazectl container_name: blazectl
image: samply/blazectl image: samply/blazectl
command: sh -c "sleep 300 && echo Source store && blazectl --server http://bridgehead-bbmri-blaze:8080/fhir count-resources && tail -f /dev/null" command: sh -c "sleep 300 && echo Source store && blazectl --server http://blaze:8080/fhir count-resources && tail -f /dev/null"

View File

@ -7,16 +7,16 @@ if [ "${ENABLE_EHDS2}" == "true" ]; then
# The environment needs to be defined in /etc/bridgehead # The environment needs to be defined in /etc/bridgehead
case "$ENVIRONMENT" in case "$ENVIRONMENT" in
"production") "production")
export EHDS2_BROKER_ID=broker.bbmri.samply.de export EHDS2_BROKER_ID=ecdc-vm-ehds-test1.swedencentral.cloudapp.azure.com
export EHDS2_ROOT_CERT=ehds2 export EHDS2_ROOT_CERT=ehds2
;; ;;
"test") "test")
export EHDS2_BROKER_ID=broker.test.bbmri.samply.de export EHDS2_BROKER_ID=ecdc-vm-ehds-test1.swedencentral.cloudapp.azure.com
export EHDS2_ROOT_CERT=ehds2.test export EHDS2_ROOT_CERT=ehds2.test
;; ;;
*) *)
report_error 6 "Environment \"$ENVIRONMENT\" is unknown. Assuming production. FIX THIS!" report_error 6 "Environment \"$ENVIRONMENT\" is unknown. Assuming production. FIX THIS!"
export EHDS2_BROKER_ID=broker.bbmri.samply.de export EHDS2_BROKER_ID=ecdc-vm-ehds-test1.swedencentral.cloudapp.azure.com
export EHDS2_ROOT_CERT=ehds2 export EHDS2_ROOT_CERT=ehds2
;; ;;
esac es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kFo7b/a/Z/jl9szKsAPHozMixSi8lGnsYwN80oqeRvT7h OxOwviutfJTNvDyhXu8FrDc5tr9f5VjXv1hK2szYuvggwbybUBB9bLsx+fV79oZe
wcMUK+igv3/K 3zR0j5YwB28G
-----END CERTIFICATE----- -----END CERTIFICATE-----

View File

@ -1,20 +1,20 @@
-----BEGIN CERTIFICATE----- -----BEGIN CERTIFICATE-----
MIIDNTCCAh2gAwIBAgIUJ0g7k2vrdAwNTU38S1/mU8NO26MwDQYJKoZIhvcNAQEL MIIDNTCCAh2gAwIBAgIUamQJB/Uevzf3+qrDQOqA8mwkwX8wDQYJKoZIhvcNAQEL
BQAwFjEUMBIGA1UEAxMLQnJva2VyLVJvb3QwHhcNMjMwNzEwMTIyMzQxWhcNMzMw BQAwFjEUMBIGA1UEAxMLQnJva2VyLVJvb3QwHhcNMjQwMjA3MTQ1MTQxWhcNMzQw
NzA3MTIyNDExWjAWMRQwEgYDVQQDEwtCcm9rZXItUm9vdDCCASIwDQYJKoZIhvcN MjA0MTQ1MjExWjAWMRQwEgYDVQQDEwtCcm9rZXItUm9vdDCCASIwDQYJKoZIhvcN
AQEBBQADggEPADCCAQoCggEBALMvc/fApbsAl+/NXDszNgffNR5llAb9CfxzdnRn AQEBBQADggEPADCCAQoCggEBAKvI2XT0os20vG7d8FjRuMq9mALcQgLZvjAbQZbm
ryoBqZdPevBYZZfKBARRKjFbXRDdPWbE7erDeo1LiCM6PObXCuT9wmGWJtvfkmqW JyeVxRQP5HsSrBlBwaZWgmXWFfIPlwsEsTAUsCneAl4ZL3gQ6831nbmmpgThOEVy
3Z/a75e4r360kceMEGVn4kWpi9dz8s7+oXVZURjW2r13h6pq6xQNZDNlXmpR8wHG rGBsbL6qlEWWplD/AGpcdEbAuDmuMSO9tKR6iRm+acTHJcXqsDm2HUUS7U+ManWY
58TSrQC4n1vzdSwMWdptgOA8Sw8adR7ZJI1yNZpmynB2QolKKNESI7FcSKC/+b+H S0dG10beJE2eVtEv5/fnFlVSn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