From cb6f5c4a37296ebb947dd79eea6988e864aabeda Mon Sep 17 00:00:00 2001 From: DokurOmkar Date: Tue, 9 Jul 2024 11:30:29 -0700 Subject: [PATCH 01/10] VH 1314 - Added browser commands to ignore warning on chrome and chromium browsers --- configuration/initialization.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configuration/initialization.sh b/configuration/initialization.sh index e6dc5acf0..930fb3526 100755 --- a/configuration/initialization.sh +++ b/configuration/initialization.sh @@ -150,3 +150,5 @@ cd "$mysqlDir" || return # return in case cd fails chromium-browser "http://127.0.0.1" > /dev/null 2>&1 & chromium-browser "https://127.0.0.1:19760" > /dev/null 2>&1 & +google-chrome --ignore-certificate-errors localhost +chromium-browser --ignore-certificate-errors localhost From 1380a188f8c3bbee5197d950ceb352588b90f34d Mon Sep 17 00:00:00 2001 From: DokurOmkar Date: Wed, 10 Jul 2024 07:27:03 -0700 Subject: [PATCH 02/10] VH 1314 - Updated the initialization script and README file --- configuration/README.md | 3 +++ configuration/initialization.sh | 5 +---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configuration/README.md b/configuration/README.md index d1ff943de..7430be898 100644 --- a/configuration/README.md +++ b/configuration/README.md @@ -59,3 +59,6 @@ To support execution in a simulated environment, V2X-Hub is in the process of in * **V2XHUB_IP** – Environment variable for storing IP address of V2X Hub. * **INFRASTRUCTURE_ID** – Environment variable for storing infrastructure id of V2X Hub. * **SENSOR_JSON_FILE_PATH** – Environment variable for storing path to sensor configuration file. This is an optional simulation environment variable that allows for setting up simulated sensor for a V2X-Hub instance. Example file can be found in the **CDASimAdapterPlugin** tests [here](../src/v2i-hub/CDASimAdapter/test/sensors.json). + +### Open V2X-Hub in Google Chrome + To open V2X-Hub in Google Chrome, run this command "google-chrome --ignore-certificate-errors localhost" \ No newline at end of file diff --git a/configuration/initialization.sh b/configuration/initialization.sh index 930fb3526..82b556ebb 100755 --- a/configuration/initialization.sh +++ b/configuration/initialization.sh @@ -148,7 +148,4 @@ fi cd "$mysqlDir" || return # return in case cd fails ./add_v2xhub_user.bash -chromium-browser "http://127.0.0.1" > /dev/null 2>&1 & -chromium-browser "https://127.0.0.1:19760" > /dev/null 2>&1 & -google-chrome --ignore-certificate-errors localhost -chromium-browser --ignore-certificate-errors localhost +chromium-browser --ignore-certificate-errors localhost > /dev/null 2>&1 & From 8a95f2cb43cd13094067cf97db44ded91b3c523d Mon Sep 17 00:00:00 2001 From: DokurOmkar Date: Wed, 10 Jul 2024 07:34:45 -0700 Subject: [PATCH 03/10] VH 1314 - Updated README file --- configuration/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configuration/README.md b/configuration/README.md index 7430be898..344b4c951 100644 --- a/configuration/README.md +++ b/configuration/README.md @@ -61,4 +61,7 @@ To support execution in a simulated environment, V2X-Hub is in the process of in * **SENSOR_JSON_FILE_PATH** – Environment variable for storing path to sensor configuration file. This is an optional simulation environment variable that allows for setting up simulated sensor for a V2X-Hub instance. Example file can be found in the **CDASimAdapterPlugin** tests [here](../src/v2i-hub/CDASimAdapter/test/sensors.json). ### Open V2X-Hub in Google Chrome - To open V2X-Hub in Google Chrome, run this command "google-chrome --ignore-certificate-errors localhost" \ No newline at end of file + To open V2X-Hub in Google Chrome, run this command: + ``` + google-chrome --ignore-certificate-errors localhost" + ``` \ No newline at end of file From a01c13c95162e9a3f61b3d6aaec9bdb4c5b21b37 Mon Sep 17 00:00:00 2001 From: DokurOmkar Date: Wed, 10 Jul 2024 10:37:08 -0400 Subject: [PATCH 04/10] VH 1314 - Update README.md --- configuration/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configuration/README.md b/configuration/README.md index 344b4c951..91c80daae 100644 --- a/configuration/README.md +++ b/configuration/README.md @@ -63,5 +63,5 @@ To support execution in a simulated environment, V2X-Hub is in the process of in ### Open V2X-Hub in Google Chrome To open V2X-Hub in Google Chrome, run this command: ``` - google-chrome --ignore-certificate-errors localhost" - ``` \ No newline at end of file + google-chrome --ignore-certificate-errors localhost + ``` From 04b96af5d0872a414bca83b56efc5c7264e2f720 Mon Sep 17 00:00:00 2001 From: DokurOmkar Date: Wed, 10 Jul 2024 08:06:33 -0700 Subject: [PATCH 05/10] VH 1314 - Updated README file --- configuration/README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/configuration/README.md b/configuration/README.md index 344b4c951..10ba04ab1 100644 --- a/configuration/README.md +++ b/configuration/README.md @@ -63,5 +63,8 @@ To support execution in a simulated environment, V2X-Hub is in the process of in ### Open V2X-Hub in Google Chrome To open V2X-Hub in Google Chrome, run this command: ``` - google-chrome --ignore-certificate-errors localhost" - ``` \ No newline at end of file + google-chrome --ignore-certificate-errors localhost + ``` + +> [!NOTE] +> V2X-Hub Server uses a secure WebSocket connection to communicate with the browser. For this, V2X-Hub Server uses a self-signed certificate instead of one signed by a trusted certificate authority (CA). Most of the browsers do not trust this until explicitly told to do so by navigating to the WebSocket URL (https://:19760) and accepting the risk. The `--ignore-certificate-errors` option instructs the browser to ignore certificate errors and warnings which removes manually effort of accepting this risk on V2X-Hub deployments. **Using the browser with this option enabled to access the internet or any other application is not advised as it is a security risk**. \ No newline at end of file From f8cdd4573d828f10577ffecb0753974103c9c2a9 Mon Sep 17 00:00:00 2001 From: DokurOmkar Date: Wed, 10 Jul 2024 08:16:48 -0700 Subject: [PATCH 06/10] VH 1314 - Updated README file --- configuration/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configuration/README.md b/configuration/README.md index 10ba04ab1..1aa40dc83 100644 --- a/configuration/README.md +++ b/configuration/README.md @@ -60,10 +60,10 @@ To support execution in a simulated environment, V2X-Hub is in the process of in * **INFRASTRUCTURE_ID** – Environment variable for storing infrastructure id of V2X Hub. * **SENSOR_JSON_FILE_PATH** – Environment variable for storing path to sensor configuration file. This is an optional simulation environment variable that allows for setting up simulated sensor for a V2X-Hub instance. Example file can be found in the **CDASimAdapterPlugin** tests [here](../src/v2i-hub/CDASimAdapter/test/sensors.json). -### Open V2X-Hub in Google Chrome - To open V2X-Hub in Google Chrome, run this command: +### Open V2X-Hub in Google Chrome +If the chromium browser is not available, run this command to open V2X-Hub in google chrome: ``` - google-chrome --ignore-certificate-errors localhost + google-chrome --ignore-certificate-errors localhost > /dev/null 2>&1 & ``` > [!NOTE] From 33059634177ca18f8c19ac8f1accb05cc89a72c4 Mon Sep 17 00:00:00 2001 From: DokurOmkar Date: Wed, 10 Jul 2024 08:31:40 -0700 Subject: [PATCH 07/10] VH 1314 - Updated README file --- configuration/README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/configuration/README.md b/configuration/README.md index 1aa40dc83..b7ef698d5 100644 --- a/configuration/README.md +++ b/configuration/README.md @@ -61,9 +61,14 @@ To support execution in a simulated environment, V2X-Hub is in the process of in * **SENSOR_JSON_FILE_PATH** – Environment variable for storing path to sensor configuration file. This is an optional simulation environment variable that allows for setting up simulated sensor for a V2X-Hub instance. Example file can be found in the **CDASimAdapterPlugin** tests [here](../src/v2i-hub/CDASimAdapter/test/sensors.json). ### Open V2X-Hub in Google Chrome -If the chromium browser is not available, run this command to open V2X-Hub in google chrome: - ``` - google-chrome --ignore-certificate-errors localhost > /dev/null 2>&1 & +To access V2X-Hub UI, please use either chromium or google-chrome browser and run the following command +``` +chromium --ignore-certificate-errors +``` +or + +``` +google-chrome --ignore-certificate-errors ``` > [!NOTE] From 9c6af3a276283ba7a22f4d4a099173b89d108310 Mon Sep 17 00:00:00 2001 From: DokurOmkar Date: Wed, 10 Jul 2024 08:33:29 -0700 Subject: [PATCH 08/10] VH 1314 - Updated README file --- configuration/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/README.md b/configuration/README.md index b7ef698d5..c425ab72c 100644 --- a/configuration/README.md +++ b/configuration/README.md @@ -60,7 +60,7 @@ To support execution in a simulated environment, V2X-Hub is in the process of in * **INFRASTRUCTURE_ID** – Environment variable for storing infrastructure id of V2X Hub. * **SENSOR_JSON_FILE_PATH** – Environment variable for storing path to sensor configuration file. This is an optional simulation environment variable that allows for setting up simulated sensor for a V2X-Hub instance. Example file can be found in the **CDASimAdapterPlugin** tests [here](../src/v2i-hub/CDASimAdapter/test/sensors.json). -### Open V2X-Hub in Google Chrome +### Access V2X-Hub To access V2X-Hub UI, please use either chromium or google-chrome browser and run the following command ``` chromium --ignore-certificate-errors From d684f58fb9bfbd0021d0329c3125d0f340b99360 Mon Sep 17 00:00:00 2001 From: DokurOmkar Date: Wed, 10 Jul 2024 08:35:18 -0700 Subject: [PATCH 09/10] VH 1314 - Updated README file --- configuration/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/README.md b/configuration/README.md index c425ab72c..572b0c2e8 100644 --- a/configuration/README.md +++ b/configuration/README.md @@ -63,7 +63,7 @@ To support execution in a simulated environment, V2X-Hub is in the process of in ### Access V2X-Hub To access V2X-Hub UI, please use either chromium or google-chrome browser and run the following command ``` -chromium --ignore-certificate-errors +chromium-browser --ignore-certificate-errors ``` or From c1c83bde9a5797d7f877e6cf9a3cdd450a4e2d15 Mon Sep 17 00:00:00 2001 From: DokurOmkar Date: Wed, 10 Jul 2024 12:28:49 -0700 Subject: [PATCH 10/10] VH 1314 - Updated README file with grammar errors --- configuration/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configuration/README.md b/configuration/README.md index 572b0c2e8..244f180b5 100644 --- a/configuration/README.md +++ b/configuration/README.md @@ -61,7 +61,7 @@ To support execution in a simulated environment, V2X-Hub is in the process of in * **SENSOR_JSON_FILE_PATH** – Environment variable for storing path to sensor configuration file. This is an optional simulation environment variable that allows for setting up simulated sensor for a V2X-Hub instance. Example file can be found in the **CDASimAdapterPlugin** tests [here](../src/v2i-hub/CDASimAdapter/test/sensors.json). ### Access V2X-Hub -To access V2X-Hub UI, please use either chromium or google-chrome browser and run the following command +To access V2X-Hub UI, either chromium or google-chrome browser can be used by running the following commands: ``` chromium-browser --ignore-certificate-errors ``` @@ -72,4 +72,4 @@ google-chrome --ignore-certificate-errors ``` > [!NOTE] -> V2X-Hub Server uses a secure WebSocket connection to communicate with the browser. For this, V2X-Hub Server uses a self-signed certificate instead of one signed by a trusted certificate authority (CA). Most of the browsers do not trust this until explicitly told to do so by navigating to the WebSocket URL (https://:19760) and accepting the risk. The `--ignore-certificate-errors` option instructs the browser to ignore certificate errors and warnings which removes manually effort of accepting this risk on V2X-Hub deployments. **Using the browser with this option enabled to access the internet or any other application is not advised as it is a security risk**. \ No newline at end of file +> V2X-Hub Server uses a secure WebSocket connection to communicate with the browser. For this, V2X-Hub Server uses a self-signed certificate instead of one signed by a trusted certificate authority (CA). Most of the browsers do not trust this until explicitly told to do so by navigating to the WebSocket URL (https://:19760) and accepting the risk. The `--ignore-certificate-errors` option instructs the browser to ignore certificate errors and warnings which removes manual effort of accepting this risk on V2X-Hub deployments. **Using the browser with this option enabled to access the internet or any other application is not advised as it is a security risk**. \ No newline at end of file