aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unsecure_anonymous/client.conf
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-02-18 20:30:33 +0100
committerThomas Vanbesien <tvanbesi@proton.me>2026-02-18 20:30:33 +0100
commit70381b3381d77845dbc04fd521b729b7098134a5 (patch)
tree4fc78178ab9fbeac32c9a7cf7f154fd1233c32ca /tests/unsecure_anonymous/client.conf
parent02e518fd27b43d0d452a264304de7b3d38a58ef6 (diff)
downloadBobinkCOpcUa-70381b3381d77845dbc04fd521b729b7098134a5.tar.gz
BobinkCOpcUa-70381b3381d77845dbc04fd521b729b7098134a5.zip
Extract createUnsecureClientConfig, fix None endpoint negotiation
UA_ClientConfig_setDefault leaves securityMode at SignAndEncrypt, so unsecure clients failed endpoint negotiation when the LDS only offered None endpoints. Extract the unsecure client setup into createUnsecureClientConfig() which explicitly sets securityMode and securityPolicyUri to None. Also enable discovery-only None endpoint on ServerRegister so unencrypted clients can discover it, and update the unsecure_anonymous test configs to run fully without encryption.
Diffstat (limited to 'tests/unsecure_anonymous/client.conf')
-rw-r--r--tests/unsecure_anonymous/client.conf7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/unsecure_anonymous/client.conf b/tests/unsecure_anonymous/client.conf
index d93000e..c6fd6c9 100644
--- a/tests/unsecure_anonymous/client.conf
+++ b/tests/unsecure_anonymous/client.conf
@@ -1,14 +1,7 @@
# Client — test: unsecure_anonymous
-# Has certs for encryption support (needed to negotiate with the secured
-# LDS) but no securityMode/securityPolicy — lets the client auto-select
-# the best available endpoint on each server.
applicationUri = urn:localhost:bobink:Client
-# certificate = certs/Client_cert.der
-# privateKey = certs/Client_key.der
-# trustStore = certs/trust/client
-#
securityMode = None
securityPolicy = None