OPC UA 1.02
Following this release we also announced the public availability of the Java SDK 2.0 Beta, which is based on the new stack.
The highlights of the new specification are:
- Support for HTTPS protocol
- Basic256Sha256 Security Policy
- Big certificates (>2048 bits)
- Final release of the Historical Access and Aggregates parts
- FileTransfer through FileType objects
- Standard XML schema for Information Models (http://opcfoundation.org/UA/2011/03/UANodeSet.xsd)
- Global Discovery Service
- Enhanced redundancy mode and network redundancy
Support for the HTTPS protocol is added to all the stacks. These have now been prepared in a project coordinated by the Software Management Group of OPC Foundation, which decides on the direction of the software components provided by the OPC Foundation.
In practice, HTTPS becomes another alternative for the UA Binary and SOAP protocols that have been defined in earlier specifications. The UA Binary will stay as the primary protocol available in all stacks. It incorporates the UA security. SOAP remains implemented in the .NET stack only, incorporating WS-Security (which makes it challenging for the other stacks). HTTPS will be used without UA security; but the same level of security is applied by the standard SSL/TLS layer that is used in the transport level (HTTP with SSL is HTTPS).
In practice, the difference between UA binary and HTTPS is that since the security is applied on different levels, also different certificates are used. UA security is based on Application Instance certificates, whereas HTTPS uses a bit different certificates. They are both similar X.509 certificates, but have minor differences in the field values, so your application will need both, if it supports both protocols.
Support for HTTPS is included in the Java SDK 2.0: you can “just use it” :) Read more, for example from the Migration Guide.
This is a new security policy, which enhances the former Basic256 policy.
The policy defines that AES-256 is used for symmetric encryption as before with Basic256, but the message digest algorithm is updated from SHA-1 to SHA-256, which provides additional confidentiality.
Support for this new policy is not implemented yet in all stacks, so you should not be worried about this yet.
The Java SDK 2.0 allows usage of the new policy, but it’s still not enabled by default in the servers.
The former specification had a minor flaw, which prevented the usage of application instance certificates with more than 2048 bits. Version 1.02 fixes this flaw, but due to backward compatibility, it does not come without some complications. The stacks will use a bit different message structure depending on the size of the certificate. For this reason, big certificates are only allowed along with the new Basic256Sha256 policy – which on the hand is defined not to be available with 1024 bit certificates.
In practice, if you wish to support all policies (Basic128Rsa15, Basic256, Basic256) you must use a certificate of 2048 bits, or two separate application instance certificates.
The Java SDK 2.0 sample applications demonstrate how to enable usage of several certificates (see the application source codes).
The FileType object will enable transfer of files through OPC UA. The object type contains the properties:
So the idea is that it can be used to provide access to the file system in the UA Server Address Space and the files can be transferred using the methods. This enables unlimited file sizes as well: GetPosition and SetPosition enable moving the position in an underlying file stream; Read and Write will transfer a specified amount of bytes from or to the stream.
Information Model schemas
The new Information Model schemas will enable transfer of information models and also other address space information between modeling applications, but also between server and client applications.
The stacks do not contain support for the information models, but the Java SDK enables loading of the models from XML to the server address space. We are also working on improved support for creating instances out of the UA types and generating Java classes that implement the UA instance structures. This will open up exiting new possibilities in future.
Global Discovery Service
The Global Discovery Service (GDS) is a specification of an application that can provide the discovery service on network level. So far we only have had the Local Discovery Server (LDS) components that can provide information of server applications installed in the local computer. The idea behind the GDS is to provide the same information on network level, so that it would be easier to locate all the servers installed in a complete site.
Another feature of the GDS is to serve as a centralized Certificate Authority, which can sign application certificates for all UA applications. This will make it easier to establish a secure UA network as each application will not use a self-signed certificate that must be accepted separately by each other application.
The OPC Foundation will provide a sample implementation of the GDS.
The new specification also defines ways for ad-hoc discovery of applications in a network.
The Part 12. which defines the new discovery features is not yet released, though, so details of these options are still subject to change a bit.
Chief Technology Officer
Expertise and responsibility areas: OPC & OPC UA product development, project work and customer support
About Prosys OPC Ltd
Prosys OPC is a leading provider of professional OPC software and services with over 20 years of experience in the field. OPC and OPC UA (Unified Architecture) are communications standards used especially by industrial and high-tech companies.
Newest blog posts
Nowadays, the EDGE offers a wider functionality than just of an aggregating OPC UA server. In reality, it is the main part of an Industry 4.0 factory.
The very first blog post about Prosys OPC UA Edge. The article introduces the main features and functionalities of the EDGE software.
How do the Windows DCOM hardening changes affect your OPC Classic applications.