From 80aa098905cd7925cf6b665bba9d69621c44cc04 Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Wed, 18 Feb 2026 16:56:44 +0100 Subject: Add None endpoint so unsecure clients can discover secure servers UA_ServerConfig_addSecurityPolicyNone only adds the security policy, not an endpoint entry. Without a None endpoint in the GetEndpoints response, the open62541 client's internal endpoint negotiation fails with BadIdentityTokenRejected before the FindServers request is sent. Adding the endpoint via UA_ServerConfig_addEndpoint makes the None endpoint visible; securityPolicyNoneDiscoveryOnly still restricts it to discovery services only. --- tests/unsecure_anonymous/server_lds.conf | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests/unsecure_anonymous') diff --git a/tests/unsecure_anonymous/server_lds.conf b/tests/unsecure_anonymous/server_lds.conf index b50d03f..c5808bd 100644 --- a/tests/unsecure_anonymous/server_lds.conf +++ b/tests/unsecure_anonymous/server_lds.conf @@ -4,10 +4,6 @@ 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 -- cgit v1.2.3