Skip to content
Snippets Groups Projects
Commit 6373090f authored by Spencer Brown's avatar Spencer Brown
Browse files

Use relative paths for key files

parent 26f5ea77
No related branches found
No related tags found
No related merge requests found
......@@ -26,9 +26,9 @@ GatewayAddress: "localhost:8443"
# deleted from the user's message queue
MessageTimeout: 1800
keyPath: "/home/spencer/go/src/gitlab.com/elixxir/integration/keys/gateway.cmix.rip.key"
certPath: "/home/spencer/go/src/gitlab.com/elixxir/integration/keys/gateway.cmix.rip.crt"
serverCertPath: "/home/spencer/go/src/gitlab.com/elixxir/integration/keys/cmix.rip.crt"
keyPath: "../keys/gateway.cmix.rip.key"
certPath: "../keys/gateway.cmix.rip.crt"
serverCertPath: "../keys/cmix.rip.crt"
### Anything below this line is to be deprecated ###
......
......@@ -101,7 +101,7 @@ echo $PIDVAL >> results/serverpids
echo "$UDBCMD -- $PIDVAL"
# Start a dummy client
DUMMYCMD="../bin/client -i 35 -d 35 -g $GATEWAY --numnodes 5 -m \"dummy\" --dummyfrequency 2 --certpath /home/spencer/go/src/gitlab.com/elixxir/integration/keys/gateway.cmix.rip.crt -f blobdummy"
DUMMYCMD="../bin/client -i 35 -d 35 -g $GATEWAY --numnodes 5 -m \"dummy\" --dummyfrequency 2 --certpath ../keys/gateway.cmix.rip.crt -f blobdummy"
$DUMMYCMD >> $DUMMYOUT 2>&1 &
PIDVAL=$!
echo $PIDVAL >> results/serverpids
......@@ -117,7 +117,7 @@ echo "$GATEWAYCMD -- $PIDVAL"
# Send a registration command
cat registration-commands.txt | while read LINE
do
CLIENTCMD="timeout 90s ../bin/client -f blob9 --numnodes 5 -g $GATEWAY -i 9 -d 3 --certpath /home/spencer/go/src/gitlab.com/elixxir/integration/keys/gateway.cmix.rip.crt -m \"$LINE\""
CLIENTCMD="timeout 90s ../bin/client -f blob9 --numnodes 5 -g $GATEWAY -i 9 -d 3 --certpath ../keys/gateway.cmix.rip.crt -m \"$LINE\""
eval $CLIENTCMD >> $CLIENTOUT/client9.out 2>&1 &
PIDVAL=$!
echo "$CLIENTCMD -- $PIDVAL"
......@@ -125,7 +125,7 @@ do
done
# Send a channel message that all clients will receive
CLIENTCMD="timeout 60s ../bin/client -f blob8 --numnodes 5 --certpath /home/spencer/go/src/gitlab.com/elixxir/integration/keys/gateway.cmix.rip.crt -g $GATEWAY -i 8 -d 31 -m \"Channel, Hello\""
CLIENTCMD="timeout 60s ../bin/client -f blob8 --numnodes 5 --certpath ../keys/gateway.cmix.rip.crt -g $GATEWAY -i 8 -d 31 -m \"Channel, Hello\""
eval $CLIENTCMD >> $CLIENTOUT/client8.out 2>&1 &
PIDVAL=$!
echo "$CLIENTCMD -- $PIDVAL"
......
......@@ -18,6 +18,6 @@ servers:
- localhost:50004
gateways:
- "localhost:8443"
keyPath: "/home/spencer/go/src/gitlab.com/elixxir/integration/keys/cmix.rip.key"
certPath: "/home/spencer/go/src/gitlab.com/elixxir/integration/keys/cmix.rip.crt"
gatewayCertPath: "/home/spencer/go/src/gitlab.com/elixxir/integration/keys/gateway.cmix.rip.crt"
keyPath: "../keys/cmix.rip.key"
certPath: "../keys/cmix.rip.crt"
gatewayCertPath: "../keys/gateway.cmix.rip.crt"
......@@ -18,6 +18,6 @@ servers:
- localhost:50004
gateways:
- "localhost:8443"
keyPath: "/home/spencer/go/src/gitlab.com/elixxir/integration/keys/cmix.rip.key"
certPath: "/home/spencer/go/src/gitlab.com/elixxir/integration/keys/cmix.rip.crt"
gatewayCertPath: "/home/spencer/go/src/gitlab.com/elixxir/integration/keys/gateway.cmix.rip.crt"
keyPath: "../keys/cmix.rip.key"
certPath: "../keys/cmix.rip.crt"
gatewayCertPath: "../keys/gateway.cmix.rip.crt"
......@@ -18,6 +18,6 @@ servers:
- localhost:50004
gateways:
- "localhost:8443"
keyPath: "/home/spencer/go/src/gitlab.com/elixxir/integration/keys/cmix.rip.key"
certPath: "/home/spencer/go/src/gitlab.com/elixxir/integration/keys/cmix.rip.crt"
gatewayCertPath: "/home/spencer/go/src/gitlab.com/elixxir/integration/keys/gateway.cmix.rip.crt"
keyPath: "../keys/cmix.rip.key"
certPath: "../keys/cmix.rip.crt"
gatewayCertPath: "../keys/gateway.cmix.rip.crt"
......@@ -18,6 +18,6 @@ servers:
- localhost:50004
gateways:
- "localhost:8443"
keyPath: "/home/spencer/go/src/gitlab.com/elixxir/integration/keys/cmix.rip.key"
certPath: "/home/spencer/go/src/gitlab.com/elixxir/integration/keys/cmix.rip.crt"
gatewayCertPath: "/home/spencer/go/src/gitlab.com/elixxir/integration/keys/gateway.cmix.rip.crt"
keyPath: "../keys/cmix.rip.key"
certPath: "../keys/cmix.rip.crt"
gatewayCertPath: "../keys/gateway.cmix.rip.crt"
......@@ -18,6 +18,6 @@ servers:
- localhost:50004
gateways:
- "localhost:8443"
keyPath: "/home/spencer/go/src/gitlab.com/elixxir/integration/keys/cmix.rip.key"
certPath: "/home/spencer/go/src/gitlab.com/elixxir/integration/keys/cmix.rip.crt"
gatewayCertPath: "/home/spencer/go/src/gitlab.com/elixxir/integration/keys/gateway.cmix.rip.crt"
keyPath: "../keys/cmix.rip.key"
certPath: "../keys/cmix.rip.crt"
gatewayCertPath: "../keys/gateway.cmix.rip.crt"
......@@ -3,4 +3,4 @@ logPath: "logfile.log"
numNodes: 5
gateways:
- "localhost:8443"
certPath: "/home/spencer/go/src/gitlab.com/elixxir/integration/keys/gateway.cmix.rip.crt"
certPath: "../keys/gateway.cmix.rip.crt"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment