Using OpcCmd Utility to work with OPC UA Security Key Service (SKS): Difference between revisions
From OPC Labs Knowledge Base
(Created page with " With Unified Automation C++ SDK Demo Server uapsc asks opc.tcp://localhost:48010 -eams SecuritySignAndEncrypt -eu root:secret browseSecurityGroups Get an error. Copy c...") |
No edit summary |
||
Line 2: | Line 2: | ||
With Unified Automation C++ SDK Demo Server | 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 | uapsc asks opc.tcp://localhost:48010 -eams SecuritySignAndEncrypt -eu root:secret | ||
Line 11: | Line 14: | ||
browseSecurityGroups | browseSecurityGroups | ||
Accept certificate | getSecurityGroupElement TestGroup | ||
Accept server certificate | |||
browseTree | browseTree | ||
Line 17: | Line 22: | ||
gsk TestGroup 0 10 | gsk TestGroup 0 10 | ||
gsk TestGroup 3 5 | |||
getSecurityKeys TestGroup 0 10 !repeat Infinite |
Revision as of 19:41, 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