Configuring OPC UA Security
- Last UpdatedSep 06, 2017
- 2 minute read
Use the Advanced Configuration section of the OPC UA editor to set OPC UA connection security parameters: Security Message Mode, Security Policy, and User Credentials.

Security Message Mode
The Security Message Mode is set to None by default.
|
Option |
Description |
|
None |
No security is applied. |
|
Sign |
All messages are signed but not encrypted. |
|
Sign and Encrypt |
All message are signed and encrypted. |
Note: If the Security Message Mode is not set to None, the OPC UA Server’s digital certificate must be trusted and made available on the OPC UA Client computer. For more information on digital certificates, see Managing Digital Certificates
Security Policy
Security Policy is set to None by default.
|
Option |
Description |
|
None |
No security is applied. |
|
Basic256 |
Indicates that Basic256 security is applied. |
|
Basic128Rsa15 |
Indicates that Basic128Rsa15 security is applied. |
Note: If the Security Policy is not set to None, the OPC UA Server’s digital certificate must be trusted and made available on the OPC UA Client computer. For more information on digital certificates, see Managing Digital Certificates.
User Credentials
If the Anonymous User checkbox is selected, the OPC UA client is allowed to connect to the OPC UA server without credentials. Clear the checkbox to provide a user name and password in their respective text boxes.
You can create a secure connection with the OPC UA server depending on how the server accepts the connection. For example, if your OPC UA client wants to connect to an OPC UA server that does not support anonymous connections, the OPC UA client must provide a valid user name and password.