Information Revolution 2014: Matthias Damm
Information Revolution 2014: Matthias Damm
www.unifiedautomation.com
2 | OPC UA Discovery
Agenda
PC 1: MyServer
OPC UA Server Trust List
List of trusted
opc.tcp://MyServer:48001 application instance
Endpoints
certificates
Endpoint URL • Basic256
Security Policy • SignAndEncrypt
• Username/Certificate
Message Security Mode
User Token Type
opc.tcp://MyServer:48001
Server configuration by • Basic128Rsa15
administrator • SignAndEncrypt Rejected List
• Username
List of rejected
application instance
certificates
PC
OPC UA
Server LDS
OPC UA
Server
PC 2: MyClient
OPC UA Client
List of selected Server Connection List
Server Endpoint(s)
Trust List
List of trusted application
instance certificates
PC PC
OPC UA Find Servers LDS
Client
OPC UA
Client need to know server host Server
FindServers
OPC UA
Called on known LDS port 4840 Server
Returns a list of servers
GetEndpoint OPC UA
Server
Called on server
Returns server security config
Connection Configuration
PC 2: MyClient PC 1: MyServer
OPC UA Client GetEndpoints OPC UA Server
opc.tcp://MyServer:48001
Server Connection List
• Basic256
• SignAndEncrypt
• Username/Certificate
opc.tcp://MyServer:48001
• Basic128Rsa15
• SignAndEncrypt
• Username
Connection Configuration
PC 2: MyClient PC 1: MyServer
OPC UA Client OPC UA Server
opc.tcp://MyServer:48001
Server Connection List
• Basic256
• SignAndEncrypt
• Username / Certificate
opc.tcp://MyServer:48001
• Basic128Rsa15
• SignAndEncrypt
• Username
Connection Configuration
PC 2: MyClient PC 1: MyServer
OPC UA Client OPC UA Server
Server Connection List opc.tcp://MyServer:48001
opc.tcp://MyServer:48001 • Basic256
• Basic256
• SignAndEncrypt
• SignAndEncrypt
• Username • Username/Certificate
opc.tcp://MyServer:48001
• Basic128Rsa15
• SignAndEncrypt
• Username
Client configured
Connection Configuration
PC 2: MyClient PC 1: MyServer
OPC UA Client CreateSecureChannel OPC UA Server
Server Connection List opc.tcp://MyServer:48001
opc.tcp://MyServer:48001 • Basic256
• Basic256
• SignAndEncrypt
• SignAndEncrypt
• Username • Username/Certificate
opc.tcp://MyServer:48001
• Basic128Rsa15
• SignAndEncrypt
• Username
Connection Configuration
PC 2: MyClient PC 1: MyServer
OPC UA Client OPC UA Server
Server Connection List opc.tcp://MyServer:48001
opc.tcp://MyServer:48001 • Basic256
• Basic256
• SignAndEncrypt
• SignAndEncrypt
• Username • Username/Certificate
opc.tcp://MyServer:48001
• Basic128Rsa15
• SignAndEncrypt
• Username
Connection Configuration
PC 2: MyClient PC 1: MyServer
CreateSecureChannel
OPC UA Client OPC UA Server
Server Connection List opc.tcp://MyServer:48001
opc.tcp://MyServer:48001 • Basic256
• Basic256 Create Session • SignAndEncrypt
• SignAndEncrypt
• Username • Username/Certificate
User
PW
opc.tcp://MyServer:48001
• Basic128Rsa15
ActivateSession • SignAndEncrypt
• Username
Secure Connection
Agenda
LDS-ME on Server
Servers are registered with local LDS
LDS with Multicast Extension (LDS-ME) announces servers
Embedded Server
Announce themselves in the network
LDS-ME on Client
LDS-ME provides cache of servers announced in the network
Client can access list through OPC UA Service from LDS
LDS-ME – Discovery
PC mDNS mDNS PC
LDS-ME LDS-ME
Find Register
OPC UA OPC UA
Client
Get Endpoints Server
FindServersOnNetwork
Called on local LDS
Returns a list of servers in the network
GetEndpoint
Still called on server – returns server security configuration
Central Server
GDS
List of registered
DirectoryType UA Servers
OPC UA Server
Server Admin RegisterApplication
Server Setup
Server registration with GDS
during setup
Registration requires security
Central Server
GDS
List of registered
DirectoryType UA Servers
OPC UA
Client QueryServers
Client Discovery
QueryServers used to find servers
Filter (LIKE string filter) for
◦ ApplicationName/ApplicationURI
◦ ProductURI
◦ Server Capabilities
© Unified Automation GmbH – All rights reserved.
21 | OPC UA Discovery
List of registered
DirectoryType UA Servers
OPC UA
Client QueryServers
Client Discovery
Local LDS-ME delivers GDS
location (capability filter)
QueryServers used to find servers
List of registered
DirectoryType UA Servers
OPC UA
Client QueryServers
GetEndpoints
Server DiscoveryURL from
OPC UA
◦ GDS QueryServers
Server
◦ LDS FindServers
◦ LDS-ME FindServerOnNetwork
OPC UA OPC UA
Client Client
OPC UA OPC UA OPC UA OPC UA
Client Client Client Server
mDNS mDNS
Agenda
Central Server
OPC UA
Client GDS
DirectoryType
Admin Pull/Push
OPC UA Certificates
RegisterApplication
Server
SignCertificate
CA
Certificate
DirectoryType
Application Setup
Application registration with GDS
during setup
Signing of application certificate
Setup requires security
GetTrustList GDS
Update DirectoryType
Pull/Push
OPC UA Certificates
Server
TrustListType CA
Certificate
DirectoryType
Push
Client gets trust list from GDS
Server implements TrustListType
Client updates server trust list with
latest setting from GDS
Central Administration
OPC UA OPC UA
Client Server
GDS
OPC UA OPC UA
Client OPC UA OPC UA Server
Any Any
CA Directory
OPC UA OPC UA
Client Server
Summary