Production OPC UA endpoints should expose SignAndEncrypt with a current policy, trusted certificates on both sides, and authenticated accounts limited to required nodes.
OPC UA, standardized as IEC 62541, separates application authentication, message protection, and user authorization, but each layer can be disabled through endpoint, certificate, and token misconfiguration.
Three OPC UA security layers
OPC UA combines application certificates, signed or encrypted messages, and user tokens before process data is exchanged. The server advertises endpoints, the client selects an allowed endpoint, and both applications must trust the certificates exchanged during the secure-channel establishment sequence [S1][S3].
Application authentication uses X.509 certificates and trust lists. Message security protects traffic through signing, encryption, or both, while user authentication distinguishes an operator from a historian or OEE gateway. These controls address separate risks, so a valid certificate does not compensate for anonymous access or an unencrypted endpoint [S3][S4].
This layered design also creates a specific operational responsibility: the endpoint, private key, trust store, certificate chain, expiry date, user token, and OPC UA library must all remain valid. For the specification structure behind the protocol, see IEC 62541 Parts Engineers Need for OPC UA.
Compare None, Sign, and SignAndEncrypt
The three message security modes differ directly in confidentiality and integrity: None provides neither, Sign provides integrity without confidentiality, and SignAndEncrypt provides both. Production endpoints should offer SignAndEncrypt and remove None after commissioning [S3][S4].
Security mode and security policy are separate controls. The mode defines whether messages are signed and encrypted, while the policy defines the cryptographic algorithms and key lengths. The OEE deployment guidance recommends selecting a current security policy and disabling old policies that the OPC Foundation has retired [S4].
None, Sign, and SignAndEncrypt are the principal endpoint options, but acceptance criteria should also cover policy currency, certificate validity, and user-token enforcement. A securely named endpoint is not sufficient if it still offers a weak policy or permits anonymous users [S2][S4].
Build certificate trust deliberately

Each OPC UA application normally holds its own application certificate and private key. A connection succeeds only when each side accepts the other certificate, either as an individual trusted certificate or through a trusted plant certificate authority [S4].
The acceptance workflow has at least 4 explicit steps: verify the client certificate, place it in the server trust list, install or pin the server certificate in the client trust list, and record both expiry dates for renewal. Plant-scale deployments can use a plant CA so each application trusts an issuer chain instead of maintaining a separate trust decision for every certificate [S4].
Private keys and certificate stores must be protected from unauthorized read and write access. The OPC Foundation security guidance specifically treats protection of stores containing private keys as essential, making key ownership and file-system permissions part of certificate management rather than an installer detail [S7].
Do not confuse the OPC UA application trust store with the operating system's public root store for unrelated outbound TLS connections. A trusted OPC UA application certificate does not automatically establish trust for MQTT, HTTPS, LDAP, or another service that uses a separate trust mechanism [S2].
Remove anonymous access and control users
Anonymous sessions should be disabled on production endpoints, and each integration should receive an individual account with only the nodes it requires. For an OEE gateway, a dedicated read-only account is preferable to sharing an engineering or HMI identity [S4].
Supported user-token patterns include anonymous access, username and password, and X.509 user certificates. The operational selection should be explicit: use a named account for a service such as oee_reader, assign read permission only to required nodes, and use a strong password or user certificate [S4].
Application trust and user authorization must be evaluated separately. A mutually trusted client certificate establishes the application relationship, but it does not automatically prevent that client from requesting data beyond its operational role. Role-based access control remains necessary for separation of duties and least privilege [S3][S5].
For OEE connections, the guidance recommends keeping one signed-and-encrypted endpoint with trusted certificates, switching off None, and giving the OEE gateway its own read-only user with no anonymous access [S4].
Contain trust and network exposure

An OPC UA endpoint should not be exposed directly to the internet, and plant-wide endpoint discovery should be reviewed even when the endpoint has restricted network reachability. Open commissioning endpoints and broad trust lists remain common configuration failures in operational networks [S2].
Network segmentation cannot repair poor endpoint configuration, but it reduces the set of clients able to test exposed servers. Restrict which servers gateways and historians may connect to, especially where the client stack is vulnerable, and remove endpoints that are no longer required [S2].
Protocol hardening also depends on the implementation. Team82 identified about 50 CVEs across about 15 OPC UA stacks, affecting hundreds of products, and demonstrated OPC UA exploits at 3 Pwn2Own ICS competitions in 2020, 2022, and 2023. Version control for the server, client, gateways, operating systems, and embedded libraries is therefore part of OPC UA security [S5].
Vendor advisories in 2026 reinforce this scope. An open62541 client-side decoding issue, CVE-2026-116014, carried a CVSS 8.1 rating and was fixed in version 1.5.7; a CISA advisory covering 6 Eclipse Milo issues listed CVSS v4.0 scores up to 9.1 [S2].
Audit certificates, endpoints, and library versions
Certificate management must be scheduled rather than treated as a one-time commissioning task. The minimum register should contain the application identity, issuer, trust-list location, private-key owner, installation date, renewal date, and expiry date for every client and server certificate [S4][S8].
Expired certificates interrupt data exchange, while missing trust-list entries cause connection rejection. New devices also need a defined onboarding path covering identity verification, trust installation, endpoint selection, and account allocation, preventing informal exceptions from entering production [S8].
Auditing should test the configuration rather than trust the commissioning record. Confirm that each endpoint advertises only approved modes and policies, anonymous authentication is disabled, private-key stores are access-controlled, certificate expiry alerts exist, and server and gateway libraries run supported versions [S2][S5].
The first trackable signal is endpoint drift: a discovery scan that finds 1 production endpoint on each PLC instead of the original 3, with SignAndEncrypt, a current policy, and no anonymous user. The second is certificate hygiene: 0 unassigned keys, 0 unexpected trust-list entries, and a renewal record for every application certificate [S2][S4].