Difference between revisions of "OPC UA Interoperability Testing with OpcCmd"

From OPC Labs Knowledge Base
Jump to navigation Jump to search
(Created page with "This article is mainly for internal usage. = Session = ; CreateSession() over an insecure channel with UA TCP and SecurityPolicy =None ; CreateSession() over a secure channel...")
 
Line 2: Line 2:
 
= Session =
 
= Session =
 
; CreateSession() over an insecure channel with UA TCP and SecurityPolicy =None
 
; CreateSession() over an insecure channel with UA TCP and SecurityPolicy =None
 +
: Example: <code>uaClient read opc.tcp://opcua.demo-this.com:51210/UA/SampleServer i=2255 --EndpointAllowedMessagedSecurity SecurityNone</code>
 
; CreateSession() over a secure channel with UA TCP and SecurityPolicy=Basic128Rsa15 where the key length is minimum 2048.
 
; CreateSession() over a secure channel with UA TCP and SecurityPolicy=Basic128Rsa15 where the key length is minimum 2048.
 
; ActivateSession() with user identity = username/password
 
; ActivateSession() with user identity = username/password

Revision as of 13:24, 29 September 2022

This article is mainly for internal usage.

Session

CreateSession() over an insecure channel with UA TCP and SecurityPolicy =None
Example: uaClient read opc.tcp://opcua.demo-this.com:51210/UA/SampleServer i=2255 --EndpointAllowedMessagedSecurity SecurityNone
CreateSession() over a secure channel with UA TCP and SecurityPolicy=Basic128Rsa15 where the key length is minimum 2048.
ActivateSession() with user identity = username/password
ActivateSession() with user identity = anonymous
ActivateSession - change user in an existing session.
Not supported.
Use CloseSession() to end session. If possible, verify that the following service calls to the session are rejected.
Create and use multiple sessions.
CreateSession() with an application instance certificate
CreateSession() over a secure channel with HTTPS and SecurityPolicy =None.
ActivateSession() with user identity = X509 certificate
CreateSession() over a secure channel with UA TCP and SecurityPolicy=Basic256Sha256
CreateSession() over a secure channel with UA TCP and SecurityPolicy=Aes128-Sha256-RsaOaep
CreateSession() over a secure channel with UA TCP and SecurityPolicy=Aes256-Sha256-RsaPss