Untrusted certificate handling in OPC java stack|OPC Certification and Interoperability Testing|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Untrusted certificate handling in OPC java stack
Avatar
Deepali Ahirrao
Member
Members
Forum Posts: 25
Member Since:
08/16/2019
sp_UserOfflineSmall Offline
1
02/05/2020 - 07:10
sp_Permalink sp_Print

We have build a OPC UA Client and trying for OPC certification.

We were analyzing this test case for session services - 'Server returns an untrusted certificate, i.e. signed by an untrusted authority.'

We are using OPC java stack (opc-ua-stack-1.4.1.jar) and this part is handled by the code in the jar. We wanted to know what happens when Server returns an untrusted certificate - does the code throw an exception or accept it? 

We are working with simulation servers, so could not test the scenario, hence posting the query.

Avatar
Randy Armstrong
Admin
Forum Posts: 1445
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
02/06/2020 - 08:26
sp_Permalink sp_Print

The decision on whether to trust certificate has to be handled by the application and cannot be done in the stack. Most stacks will provide a callback that allows applications to receive notifications when they need to make a decision.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 15
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1347
Posts: 4567