Security and Authentication Settings|OPC UA Implementation: Stacks, Tools, and Samples|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
Security and Authentication Settings
Avatar
John Paul Restubog
New Member
Members
Forum Posts: 2
Member Since:
06/07/2017
sp_UserOfflineSmall Offline
1
11/27/2018 - 22:51
sp_Permalink sp_Print sp_EditHistory

I am pretty new on OPC UA. What I did is grab the latest copy of the OPC UA Stack on Github and develop an OPC UA Server on top of it. Basically, i reused the Data Access Server application. Now i would like to try to exchange certificate with any OPC UA Client and i dont know how this thing work.

Currently I am using UaExpert as my OPC UA Client. I have tried to change the security settings (Security Policy and Message Security Mode) and when I connect i get a message "The connection cannot be established, because the server does not support the configured security policy". I wonder how I can configure my OPC UA Server which is developed on top of the OPC UA Sack to support such configuration.

For Security Settings, I am able to connect as long as i am using None. Using combination of Basic256, Basic128Rsa15, Basic256Sha256, Sign and Sign & Encrypt gives me the above error message.

For Authentication Settings, I am able to connect as long as i used Anonymous. How to configure the OPC UA Server to use Username Password or Certificates?

Avatar
Paul Hunkar
Cleveland, Ohio, USA
Moderator
Members

Moderators-Specifications

Moderators-Companion

Moderators-Implementation

Moderators-Certification

Moderators-COM
Forum Posts: 112
Member Since:
02/24/2014
sp_UserOfflineSmall Offline
2
11/28/2018 - 11:29
sp_Permalink sp_Print

This is a question you should post to Github, since you are are looking for sample code or example of how to implement something. 

In OPC UA security settings are governed by profiles - you will need to implement one of the described security profiles to allow connectivity with a client like UAExpert (UAExpert already has the profiles implemented). 

Paul Hunkar - DSInteroperability

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