![Avatar](https://opcfoundation.org/wp-content/uploads/sp-resources/forum-avatars/defaults/userdefault.png)
06/07/2017
![sp_UserOfflineSmall](https://opcfoundation.org/wp-content/sp-resources/forum-themes/reboot/images/darkpack/sp_UserOfflineSmall.png)
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](https://opcfoundation.org/wp-content/uploads/sp-resources/forum-avatars/defaults/moderatordefault.png)
Moderators-Specifications
Moderators-Companion
Moderators-Implementation
Moderators-Certification
Moderators-COM
02/24/2014
![sp_UserOfflineSmall](https://opcfoundation.org/wp-content/sp-resources/forum-themes/reboot/images/darkpack/sp_UserOfflineSmall.png)
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
1 Guest(s)