From 229a536a87f6b2075000e659219e0567b45345c5 Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Tue, 17 Feb 2026 22:30:28 +0100 Subject: Update certificate generation: keep intermediate files, fix URI format Stop deleting intermediate PEM and CNF files so they can be reused. Change default application URI from urn:bobink. to urn:localhost:bobink: to follow proper URN syntax (Qt OPC UA rejects the dotted format). Update all config files and test configs to use the new URI format. --- tests/none_anon/client.conf | 2 +- tests/none_anon/server_lds.conf | 2 +- tests/none_anon/server_register.conf | 2 +- tests/none_anon/server_register_client.conf | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/none_anon') diff --git a/tests/none_anon/client.conf b/tests/none_anon/client.conf index 32eea7c..d85ae2b 100644 --- a/tests/none_anon/client.conf +++ b/tests/none_anon/client.conf @@ -1,6 +1,6 @@ # Client — test: none_anon -applicationUri = urn:bobink.ClientFindServers +applicationUri = urn:localhost:bobink:ClientFindServers certificate = certs/ClientFindServers_cert.der privateKey = certs/ClientFindServers_key.der securityMode = None diff --git a/tests/none_anon/server_lds.conf b/tests/none_anon/server_lds.conf index cf1ae45..7b15b20 100644 --- a/tests/none_anon/server_lds.conf +++ b/tests/none_anon/server_lds.conf @@ -1,7 +1,7 @@ # ServerLDS — test: none_anon port = 14840 -applicationUri = urn:bobink.ServerLDS +applicationUri = urn:localhost:bobink:ServerLDS certificate = certs/ServerLDS_cert.der privateKey = certs/ServerLDS_key.der cleanupTimeout = 60 diff --git a/tests/none_anon/server_register.conf b/tests/none_anon/server_register.conf index e89fd59..148c816 100644 --- a/tests/none_anon/server_register.conf +++ b/tests/none_anon/server_register.conf @@ -1,7 +1,7 @@ # ServerRegister server config — test: none_anon port = 14841 -applicationUri = urn:bobink.ServerRegister +applicationUri = urn:localhost:bobink:ServerRegister certificate = certs/ServerRegister_cert.der privateKey = certs/ServerRegister_key.der diff --git a/tests/none_anon/server_register_client.conf b/tests/none_anon/server_register_client.conf index 83bf961..9ab3367 100644 --- a/tests/none_anon/server_register_client.conf +++ b/tests/none_anon/server_register_client.conf @@ -1,6 +1,6 @@ # ServerRegister client config — test: none_anon -applicationUri = urn:bobink.ServerRegister +applicationUri = urn:localhost:bobink:ServerRegister certificate = certs/ServerRegisterClient_cert.der privateKey = certs/ServerRegisterClient_key.der -- cgit v1.2.3