Run this on the bridge machine which holds the original self-signed cert which is allows remote access (only use this for development!):
openssl req -x509 -nodes -days 3650 -newkey rsa:4096 \
-keyout bridge_key.pem -out bridge_cert.pem \
-subj "/CN=95.217.193.116" \
-addext "subjectAltName = IP:95.217.193.116,DNS:localhost,IP:127.0.0.1"Add every address clients will use, for example:
...
-addext "subjectAltName = \
IP:95.217.193.116,\
IP:10.0.0.5,\
IP:127.0.0.1,\
DNS:edge.example.org,\
DNS:localhost"
Before running any of the commands below, set correct values for
export RADICAL_BRIDGE_URL='https://localhost:8000/'
export RADICAL_BRIDGE_CERT="`pwd`/bridge_cert.pem"
export RADICAL_BRIDGE_KEY="`pwd`/bridge_key.pem"Terminal 1 - run the bridge service which bridges between client and HPC and use
the used url as RADICAL_BRIDGE_URL
./bin/radical-edge-bridge.pyTerminal 2 - run the edge service on the HPC resource
./bin/radical-edge-service.pyTerminal 3 - run a test client:
./examples/example_sysinfo.py