aboutsummaryrefslogtreecommitdiffstats
path: root/tests/secure_user/server_lds.conf
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-02-18 15:39:29 +0100
committerThomas Vanbesien <tvanbesi@proton.me>2026-02-18 15:39:29 +0100
commit99b5b4416193fafaa815746ea756900d2ab26917 (patch)
tree7d1ab48fcc2e8406df8d2606b691ee9e6911dcd0 /tests/secure_user/server_lds.conf
parent12989671c9f43707701a8cef8e77e34b1bf24a37 (diff)
downloadBobinkCOpcUa-99b5b4416193fafaa815746ea756900d2ab26917.tar.gz
BobinkCOpcUa-99b5b4416193fafaa815746ea756900d2ab26917.zip
Make client/server encryption optional, rename tests to full names
Make encryption optional for both ServerRegister's LDS client connection and the server side of ServerLDS/ServerRegister: when certificate, privateKey, and trustStore are omitted the programs run with SecurityPolicy#None only. Secure servers also add a discovery-only None endpoint so unencrypted clients can still call FindServers and GetEndpoints. Consolidate tests from 5 policy-specific cases (nosec_anon, none_user, basic256sha256_anon, aes256_anon, aes128_user) down to 3 that cover the important axes: unsecure_anonymous, secure_anonymous, secure_user. Rename directories to use full names. Auto-generate certificates and trust stores in run_test.sh. Update readme and CLAUDE.md to reflect the current program interface (unified Client binary, split ServerRegister configs) and the new test names.
Diffstat (limited to 'tests/secure_user/server_lds.conf')
-rw-r--r--tests/secure_user/server_lds.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/secure_user/server_lds.conf b/tests/secure_user/server_lds.conf
new file mode 100644
index 0000000..3babf37
--- /dev/null
+++ b/tests/secure_user/server_lds.conf
@@ -0,0 +1,13 @@
+# ServerLDS — test: secure_user
+# Secured LDS with discovery-only None endpoint.
+
+port = 14840
+applicationUri = urn:localhost:bobink:ServerLDS
+
+certificate = certs/ServerLDS_cert.der
+privateKey = certs/ServerLDS_key.der
+trustStore = certs/trust/server_lds
+
+authMode = anonymous
+
+cleanupTimeout = 60