![sp_Feed](https://opcfoundation.org/wp-content/sp-resources/forum-themes/reboot/images/darkpack/sp_Feed.png)
![sp_PrintTopic](https://opcfoundation.org/wp-content/sp-resources/forum-themes/reboot/images/darkpack/sp_PrintTopic.png)
![sp_TopicIcon](https://opcfoundation.org/wp-content/sp-resources/forum-themes/reboot/images/darkpack/sp_TopicIcon.png)
How to configure authentication using the OPC UA Stack to use either Username and Password or Certificates
![Avatar](https://opcfoundation.org/wp-content/uploads/sp-resources/forum-avatars/defaults/userdefault.png)
John Paul Restubog
New Member
Members
Forum Posts: 2
Member Since:
06/07/2017
06/07/2017
![sp_UserOfflineSmall](https://opcfoundation.org/wp-content/sp-resources/forum-themes/reboot/images/darkpack/sp_UserOfflineSmall.png)
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.
- How can I configure OPC UA Server to use Username & Password?
- How to define the list of username and password that can be used to connect to the OPC UA Server?
- How can I configure OPC UA Server to use Certificate?
- 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?
- Can I create my own certificate to use and not use the self signed?
- How to import client's certificate?
![Avatar](https://opcfoundation.org/wp-content/uploads/sp-resources/forum-avatars/defaults/admindefault.png)
Randy Armstrong
Admin
Forum Posts: 1537
Member Since:
05/30/2017
05/30/2017
![sp_UserOfflineSmall](https://opcfoundation.org/wp-content/sp-resources/forum-themes/reboot/images/darkpack/sp_UserOfflineSmall.png)
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.
Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 15
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1415
Posts: 4778