CTT tool issue

30 views
Skip to first unread message

Mohammad Rahil

unread,
Aug 21, 2025, 6:49:14 AMAug 21
to open62541

Hi Everyone,

I am New to CTT tool, I am running OPC UA server(open62541) and Using CTT tool to connect to it , below are things which I found during my experimentation: 

1. On the project settings tab I am able to do open Browse and also I am able to see the objects created by me. (hence Iam assuming, Iam able to establish connection with the server).

2. In CTT settings tab only I set both message security mode and requested security policy Uri as None.

3. Iam trying to run companion spec (OPC UA FX) , in this iam trying to execute UAFX Asset Connector Id, But iam failing at beforeTest.js itself with errors as Ceritificate does not have a security policy Uri defined.

Below is the error:

Warning:

GetEndpoints.Response.Endpoints[0].UserIdentityTokens[1].Certificate does not have a security policy Uri defined, the secure channel doesn’t either

Error:

Part 4 section 7.36.4 states “the server should specify a security policy for the user token policy if the secure channel has security policy of none”

can someone pls guide me how to resolve this issue, if some changes need to be done on server side then where to do those changes in open62541.

Thanks in advance

Regards,

Rahil

Robert Wörle

unread,
Aug 21, 2025, 7:34:57 AMAug 21
to open...@googlegroups.com
Hi Mohammad

Can you share your code regarding setting up your initial UA_ServerConfig * and all ->accessControl changes if any .
do you call 
UA_ServerConfig_setDefaultWithSecurityPolicies() , if yes with what params.

Regards rob
--
You received this message because you are subscribed to the Google Groups "open62541" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open62541+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/open62541/ae5b1983-c807-4cad-befe-3e589abe43d4n%40googlegroups.com.


Robert Wörle

unread,
Aug 21, 2025, 2:08:53 PMAug 21
to Mohammad Rahil, open...@googlegroups.com
I am not too deep into it , but if your only calling this , then you most likely miss some or all security / cert features i guess.


Am 21.08.2025 um 17:44 schrieb Mohammad Rahil:
hi Robert,
Below is the code for setting up basic server:

UA_Server *server = UA_Server_new();
UA_ServerConfig_setDefault(UA_Server_getConfig(server));

Iam not calling UA_ServerConfig_setDefaultWithSecurityPolicies().

Can you please validate where I am going wrong?

Regards,
Rahil

Mohammad Rahil

unread,
Aug 21, 2025, 9:57:16 PMAug 21
to Robert Wörle, open...@googlegroups.com
Hi Everyone,
Can someone pls help in configuring the basic server so that CTT Tool can connect to it with all security and cert features.
It would be really helpful, as i am stuck with the basic  connection and not able to move forward.

Regards,
Rahil
Reply all
Reply to author
Forward
0 new messages