diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-02-18 16:56:44 +0100 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-02-18 17:11:35 +0100 |
| commit | 80aa098905cd7925cf6b665bba9d69621c44cc04 (patch) | |
| tree | cac5c8f06533f5e5bdaca0237acd3b6634af209e /tests/unsecure_anonymous | |
| parent | 99b5b4416193fafaa815746ea756900d2ab26917 (diff) | |
| download | BobinkCOpcUa-80aa098905cd7925cf6b665bba9d69621c44cc04.tar.gz BobinkCOpcUa-80aa098905cd7925cf6b665bba9d69621c44cc04.zip | |
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.
Diffstat (limited to 'tests/unsecure_anonymous')
| -rw-r--r-- | tests/unsecure_anonymous/server_lds.conf | 4 |
1 files changed, 0 insertions, 4 deletions
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 |
