aboutsummaryrefslogtreecommitdiffstats
path: root/tests/nosec_anon
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-02-18 10:16:45 +0100
committerThomas Vanbesien <tvanbesi@proton.me>2026-02-18 10:16:45 +0100
commit5726a0d84460a4b67a254c4dcfaa40bf9cc12e45 (patch)
treed6150d86e876c402db5ee3e7e613d63145f5fa64 /tests/nosec_anon
parent9fe3814a2ef0be8e5b693fb0fa42064b33d0ae45 (diff)
downloadBobinkCOpcUa-5726a0d84460a4b67a254c4dcfaa40bf9cc12e45.tar.gz
BobinkCOpcUa-5726a0d84460a4b67a254c4dcfaa40bf9cc12e45.zip
Standardize config file section ordering, list operations in usage
Group config keys into sections separated by blank lines: identity, encryption (certificate/privateKey/trustStore), security mode, auth. Program-specific keys (cleanupTimeout, registerInterval) go last. Show available operations in Client usage message.
Diffstat (limited to 'tests/nosec_anon')
-rw-r--r--tests/nosec_anon/client.conf5
-rw-r--r--tests/nosec_anon/server_lds.conf3
-rw-r--r--tests/nosec_anon/server_register.conf4
-rw-r--r--tests/nosec_anon/server_register_client.conf4
4 files changed, 10 insertions, 6 deletions
diff --git a/tests/nosec_anon/client.conf b/tests/nosec_anon/client.conf
index 72679c9..2e7f959 100644
--- a/tests/nosec_anon/client.conf
+++ b/tests/nosec_anon/client.conf
@@ -1,9 +1,12 @@
# Client — test: nosec_anon
applicationUri = urn:localhost:bobink:ClientFindServers
+
certificate = certs/ClientFindServers_cert.der
privateKey = certs/ClientFindServers_key.der
+trustStore = certs/trust/client
+
securityMode = None
securityPolicy = None
+
authMode = anonymous
-trustStore = certs/trust/client
diff --git a/tests/nosec_anon/server_lds.conf b/tests/nosec_anon/server_lds.conf
index aa4b6ec..a4598a0 100644
--- a/tests/nosec_anon/server_lds.conf
+++ b/tests/nosec_anon/server_lds.conf
@@ -3,6 +3,7 @@
port = 14840
applicationUri = urn:localhost:bobink:ServerLDS
-cleanupTimeout = 60
authMode = anonymous
+
+cleanupTimeout = 60
diff --git a/tests/nosec_anon/server_register.conf b/tests/nosec_anon/server_register.conf
index 15743f5..8a2e0c9 100644
--- a/tests/nosec_anon/server_register.conf
+++ b/tests/nosec_anon/server_register.conf
@@ -3,6 +3,6 @@
port = 14841
applicationUri = urn:localhost:bobink:ServerRegister
-registerInterval = 10
-
authMode = anonymous
+
+registerInterval = 10
diff --git a/tests/nosec_anon/server_register_client.conf b/tests/nosec_anon/server_register_client.conf
index 8bdc05e..cc81a64 100644
--- a/tests/nosec_anon/server_register_client.conf
+++ b/tests/nosec_anon/server_register_client.conf
@@ -2,12 +2,12 @@
# Connects to an unsecured LDS, so no trust store for the LDS cert is needed.
applicationUri = urn:localhost:bobink:ServerRegister
+
certificate = certs/ServerRegisterClient_cert.der
privateKey = certs/ServerRegisterClient_key.der
+trustStore = certs/trust/server_register_client
securityMode = None
securityPolicy = None
authMode = anonymous
-
-trustStore = certs/trust/server_register_client