Using OpcCmd Utility to work with OPC UA Security Key Service (SKS): Difference between revisions

From OPC Labs Knowledge Base
No edit summary
No edit summary
Line 27: Line 27:




  getSecurityKeys TestGroup 0 10 !repeat Infinite
  getSecurityKeys TestGroup 0 10 !repeat Infinite 0:0:15

Revision as of 19:43, 15 March 2021

With Unified Automation C++ SDK Demo Server

Start uaservercpp.exe

configure security group 'TestGroup' in it (need an external tool to do that)

uapsc asks opc.tcp://localhost:48010 -eams SecuritySignAndEncrypt -eu root:secret 
browseSecurityGroups

Get an error. Copy client certificate from pkiserver/rejected to pkiserver/trusted/certs

browseSecurityGroups
getSecurityGroupElement TestGroup

Accept server certificate

browseTree


gsk TestGroup 0 10


gsk TestGroup 3 5


getSecurityKeys TestGroup 0 10 !repeat Infinite 0:0:15