Skip to content
Snippets Groups Projects
Commit ba627540 authored by Florent Gluck's avatar Florent Gluck
Browse files

fixed slight bug in docs/install.md

parent 15739f5b
Branches
No related tags found
No related merge requests found
......@@ -269,7 +269,7 @@ make build_nexus-exam
Running nexus-exam requires `SERVER_IP` and `CERT` environment variables. The former defines the nexus-server ip address; it must match the address defined in `config/certs/nexus-server.info` (typically 127.0.0.1 for a development server). The latter specifies the directory where the public certificate `ca-cert.pem` resides (typically in `nexus-server/certs/`):
```sh
CERT=$HOME SERVER_IP=10.0.2.15 make run_nexus-exam
make run_nexus-exam SERVER_IP=10.0.2.15 CERT=$HOME
```
## Deleting all nexus clients
......
......@@ -32,7 +32,7 @@ func run() int {
return 1
}
pubCert, found := os.LookupEnv(g.ENV_NEXUS_CERT)
certPath, found := os.LookupEnv(g.ENV_NEXUS_CERT)
if !found {
u.PrintlnErr("Environment variable \""+g.ENV_NEXUS_CERT+"\" must be set!")
u.PrintlnErr("It specifies the path to the public certificate required for encrypted communications (TLS) with the nexus server.")
......@@ -40,8 +40,8 @@ func run() int {
return 1
}
if !utils.FileExists(pubCert) {
u.PrintlnErr("Failed reading certificate \""+pubCert+"\"!")
if !utils.FileExists(certPath) {
u.PrintlnErr("Failed reading certificate \""+certPath+"\"!")
return 1
}
......@@ -74,7 +74,7 @@ func run() int {
},
OnSubmit: func() {
port, _ := strconv.Atoi(portEntry.Text)
exec.RunRemoteViewer(server, pubCert, windowTitle, port, pwdEntry.Text, true)
exec.RunRemoteViewer(server, certPath, windowTitle, port, pwdEntry.Text, true)
},
SubmitText: "Connect",
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment