How to configure authentication using the OPC UA Stack to use either Username and Password or Certificates|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
How to configure authentication using the OPC UA Stack to use either Username and Password or Certificates
Avatar
John Paul Restubog
New Member
Members
Forum Posts: 2
Member Since:
06/07/2017
sp_UserOfflineSmall Offline
1
11/27/2018 - 23:16
sp_Permalink sp_Print

Currently i am using the latest OPC UA Stack codes from Github (DataAccess) and i would like to configure the OPC UA Server to use either Username & Password or Certificate ONLY.

  1. How can I configure OPC UA Server to use Username & Password?
  2. How to define the list of username and password that can be used to connect to the OPC UA Server?
  3. How can I configure OPC UA Server to use Certificate?
  4. From what I understand, the self signed certificate that the OPC UA Server generated upon startup needs to be trusted by the OPC UA Client. Is this correct?
  5. Can I create my own certificate to use and not use the self signed?
  6. How to import client's certificate?
Avatar
Randy Armstrong
Admin
Forum Posts: 1445
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
11/28/2018 - 05:51
sp_Permalink sp_Print

The GitHub stack does not include a functional OPC UA server so it is not clear what you wish to configure.

Note that the example available is not a functional OPC UA server and requires considerable to work before it could be used in a product.

If you are building your own server on top of the stack all of the features you list are features you would need to add to your implementation because they are not within the scope of stack. 

Avatar
Paul Hunkar
Cleveland, Ohio, USA
Moderator
Members

Moderators-Specifications

Moderators-Companion

Moderators-Implementation

Moderators-Certification

Moderators-COM
Forum Posts: 109
Member Since:
02/24/2014
sp_UserOfflineSmall Offline
3
11/28/2018 - 11:50
sp_Permalink sp_Print

I might want to add that this type of question is better posted to Github since you are asking for support on code samples.  then you can ask about specific code.

Paul Hunkar - DSInteroperability

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