Where OPC UA uses cryptography: secure channels, certificates and user tokens

OPC UA uses cryptography in its SecureChannel, its X.509 certificates and its user-token protection, with the algorithms chosen by security policy. This entry maps each place for your inventory.

On this page

Where does OPC UA use cryptography, and who should own the inventory entry?

If you run OPC UA in a plant, a building or a utility, the first post-quantum question is where the protocol uses public-key cryptography in your deployment. The inventory entry should cover the SecureChannel and its transports (opc.tcp, HTTPS and WebSockets), the application certificates and the keys behind them, the user tokens that carry credentials, the management access used to configure servers, and the firmware and update mechanisms that ship new code. The OT or security lead should own this entry together with the product owner for each server, client and gateway, since the product owner knows which versions and profiles are installed and the OT lead knows which networks and zones the traffic crosses.

Start by recording the SecurityPolicy and the security profile each endpoint offers and each client uses. The OPC 10000-2 specification says security policies specify the algorithms used for signing, encryption and key derivation, and that the None profile is disabled by default. The algorithms in use are therefore set by the policy and profile configured on each endpoint, not by the OPC UA name alone. Record the RSA or ECC certificates and key lengths, the Diffie-Hellman variant and any TLS version used for HTTPS or WebSockets. The sources also say TLS versions older than 1.2 should not be enabled, so note any endpoint that still allows them.

The sources cover specification behavior, not any single vendor's build. OPC 10000-2, OPC 10000-6 and OPC 10000-7 describe what the standard allows, but a given server or SDK may implement a subset, and its certificate handling and profile defaults can differ. Confirm the exact version, edition and enabled profiles with each product owner, and ask them to state whether their build exposes the policies listed in the specification. Treat this entry as the first step of a post-quantum inventory: it tells you which flows depend on public keys before you assess support or plan an upgrade.

Which OPC UA areas use cryptography, and do they depend on public-key algorithms?

This table lists each OPC UA area that uses cryptography, the protection it provides, the algorithm families the specifications name, whether it depends on public keys, and where it is configured. Use it as the starting point for an inventory, then confirm each setting in your own deployment. Areas the cited specifications do not describe are marked as not documented in the sources.

AreaWhat it protectsAlgorithm families named in sourcesDepends on public keysWhere configured
SecureChannel signing and encryptionIntegrity and confidentiality of messages on the opc.tcp SecureChannelSHA-2 based signing, AES encryption, RSA or ECC policiesYes, through the key material of the chosen policySecurity policy and security mode on the endpoint
Key agreementSession keys derived for the SecureChannel, with forward secrecy under ECCDiffie-Hellman (finite-field for RSA policies, elliptic-curve for ECC policies), HKDFYes, ephemeral key pairs are exchangedSecurity policy selected for the endpoint
Server and client application certificatesIdentity of each application during SecureChannel setupRSA or ECC keys in X.509 version 3 certificatesYes, the certificate carries the public keyApplication certificate store and endpoint configuration
Certificate trust listsWhich peer certificates an application acceptsCertificate signatures from the configured issuersYes, trust depends on the public keys and signatures in the listsTrust list settings in each application
User-token protectionCredentials sent by users, such as passwords, protected in transitRSA encryption (RsaOaep, RsaPss) with AES and SHA-2 in listed policiesYes for RSA policies, which encrypt the token with the server public keyUser token policy on the endpoint
HTTPS transportProtection of OPC UA messages over HTTPS, required with signing and encryption for session identityTLS with the cipher suites and certificates the TLS layer negotiatesYes, the TLS server and client certificates use public keysTLS and certificate settings on the HTTPS endpoint
WebSocket transportProtection of OPC UA messages over WebSocketsTLS with the cipher suites and certificates the TLS layer negotiatesYes, WebSocket servers must have a certificateTLS and certificate settings on the WebSocket endpoint
Nonce generationFreshness of SecureChannel key materialCryptographic random numbers sized by the SecurityPolicyNo, nonces are random values, not public keysBuilt into the stack; length set by the security policy
Vendor-side firmware signingIntegrity of firmware and updates delivered by the vendorNot documented in the sourcesNot documented in the sourcesConfirm with the vendor

Which OPC UA transports and security layers does the entry need to record?

OPC UA carries data over three transports, and only one of them, opc.tcp, relies on its own secure conversation layer. The entry should record which transport each endpoint uses and which SecurityPolicy or profile governs its algorithms, since those choices determine where public-key cryptography appears.

The opc.tcp transport

The opc.tcp URL scheme is defined in clause 7.2 of OPC 10000-6 and is the binary transport most OPC UA deployments use. Its security does not come from TLS. It comes from the UASC secure conversation layer in clause 6.7 of the same part. For each opc.tcp endpoint, record the SecurityPolicy URI and the SecurityMode, because the policy selects the signing, encryption and key-derivation algorithms that the channel uses. Confirm the policy with the product's endpoint configuration, not only its documentation.

OPC 10000-6 full text

The UASC secure conversation layer

UASC is the secure conversation layer that gives opc.tcp its confidentiality and integrity. It exchanges certificates during SecureChannel setup and uses nonces that must come from a cryptographic random source, with a length set by SecureChannelNonceLength in the SecurityPolicy. Record the policy that each channel negotiates, not only the one listed as preferred, since a server may offer several. The policy definitions are in section 4.6 of OPC 10000-2, and the listed policies appear in Annex A, Table A.1.

OPC 10000-2 full text

The HTTPS transport

HTTPS is defined in clause 7.4 of OPC 10000-6 and carries OPC UA over TLS. Here the TLS layer, not UASC, provides the channel security, so the TLS version and cipher suites are the settings to record alongside the OPC UA profile. Clause 6.13 says TLS versions older than 1.2 have known weaknesses and should not be enabled. Clause 7.4.1 says HTTPS with signing and encryption must always be used when the AuthenticationToken is the session identity. Record that requirement for any endpoint that authenticates this way.

The WebSocket transport

WebSockets is defined in clause 7.5 of OPC 10000-6 and lets OPC UA traverse networks where raw TCP is restricted. Clause 7.5.3 says WebSocket servers must have a certificate, so the entry should record which certificate the server presents and which trust list the client checks it against. Confirm with the vendor whether WebSocket endpoints negotiate the same SecurityPolicy set as opc.tcp endpoints, because the sources reviewed here do not state that equivalence.

Disabled and legacy profiles

Sections 4.7 and 4.8 of OPC 10000-2 say the None profile is disabled by default and that security mode None is disabled for every profile except None. An entry should therefore flag any endpoint that exposes the None profile or SecurityMode None, and record whether the product allows operators to re-enable it. Note also which policies the product still offers alongside stronger ones, since an offered weaker policy can be negotiated even when a stronger one is preferred.

Which OPC UA certificates and keys should an inventory record, by use?

Each OPC UA server and client has an application instance certificate that identifies the application and carries its public key. Peers exchange these certificates during SecureChannel setup, and the signature and encryption operations in a policy use the matching key pair. OPC 10000-2 section 3.1.50 says OPC UA only uses X.509 version 3 certificates, so an inventory should record the certificate version for each application.

  • Certificate version: Record that the certificate is X.509 version 3, as section 3.1.50 requires.
  • Key family: Record whether the key is RSA or ECC, since the security policy determines which family is used.
  • Key length: Record the length, and check it against the security profiles in section 6.8, which list 2048, 3072 and 4096 bits and note that 2048-bit keys can already be considered insecure.
  • Storage location: The sources do not describe key storage beyond the specification, so confirm with the vendor where each private key is held.
  • Ownership: Note which application instance and which team owns each certificate.

Confirm each certificate's version, key family and key length against the vendor documentation and the live configuration on each device.

How do administrators and clients reach OPC UA endpoints, and what protects each path?

Clients reach an OPC UA server through one of three transports defined in OPC 10000-6: the opc.tcp URL scheme (clause 7.2), HTTPS (clause 7.4) and WebSockets (clause 7.5). For opc.tcp, the protection comes from the UASC secure conversation layer described in clause 6.7, which sets up a SecureChannel that carries the session. The SecureChannel is established with the security policy and security mode the server allows, and certificates are exchanged during setup and checked against TrustLists (OPC 10000-2, section 4.10). Administrators should confirm which transports and endpoints their server exposes, since each one carries its own protection rules.

User credentials are the part of the session that most often needs review. OPC 10000-2 sections 5.1.12 and 5.2.5 state that user credentials sent over the network are protected by encryption, and Annex A Table A.1 lists the policies that do this, including Basic256Sha256 and Aes256-Sha256-RsaPss. Where HTTPS is used, clause 7.4.1 of OPC 10000-6 requires that signing and encryption always be applied when the AuthenticationToken is the session identity. Security mode None is disabled for every security profile other than the None profile, and the None profile is disabled by default (OPC 10000-2, sections 4.7 and 4.8), so an endpoint that accepts unprotected logins is a configuration choice to find and remove.

The sources listed on this page do not cover vendor management interfaces, such as web consoles, configuration tools or remote maintenance access built on top of an OPC UA product. Confirm with the product owner which management paths exist, which protocols and certificates they use, and whether they follow the same signing and encryption rules as the OPC UA endpoints.

Which OPC UA firmware, specification and update items fall outside customer control?

Some OPC UA items are set by the OPC Foundation specification and roadmap, and others by the device vendor's firmware and software images. Customers can read the first group in public documents, but the second group must be confirmed directly with each vendor.

Part 2 security model release

The Part 2 Security Model reference page, checked on 2026-12-04, shows release 1.05.06, published 2025-10-22. This is the specification revision that defines the security policies, SecureChannel setup and certificate checks described on this page. Confirm which Part 2 release a product claims to implement, because a device may follow an older revision. The sources read for this page contain no mention of quantum or post-quantum algorithms in release 1.05.06.

Part 2 landing

ECC Security roadmap item

The OPC UA roadmap lists a 2020 item called ECC Security, described as new policies that use elliptic-curve cryptography. This item affects which key agreement and signature options a product can offer on the SecureChannel, and whether a device runs an ECC policy at all. Check whether the vendor has implemented the ECC policies and which named curve each one uses, since each ECC policy defines exactly one curve for ephemeral keys.

OPC UA roadmap

Device Onboarding roadmap item

The OPC UA roadmap also lists a 2023 Device Onboarding item. Device onboarding governs how a device is enrolled and trusted, which connects to certificates and trust lists used during SecureChannel setup. Ask the vendor whether its onboarding flow, certificate provisioning and trust list handling follow this item. The roadmap page does not say how onboarding changes affect algorithms or key lengths.

OPC UA roadmap

Vendor firmware and image signing

The sources do not describe how vendors sign firmware and software images, which algorithms they use, or how signature verification is updated. Ask the device vendor which signing scheme protects the firmware that runs the OPC UA stack, how that scheme is verified on the device, and whether a signing algorithm change requires a new device or a field update. This item is outside the OPC Foundation specifications and cannot be answered from them.

Vendor update and certificate tooling

Certificate generation, trust list updates and OPC UA stack patches usually ship through the vendor's own update channel, not through the specification. Ask the vendor which tools rotate certificates, whether key lengths can be raised by configuration or require a firmware release, and how long older releases remain supported. The sources do not state any vendor schedule for these updates.

Part 2 full text

Which fields should each OPC UA inventory record contain?

This table lists the fields an OPC UA inventory record should hold, with what each field captures and why it matters for post-quantum planning. Use it as a template: one record per OPC UA server, client or device, filled in from the product's configuration and the vendor's documentation. The key-rotation row reflects the at-least-every-two-hours guidance in OPC 10000-2 section 4.13, so check how your deployment sets it.

FieldWhat to recordWhy it matters
Product and modelVendor, product name, model number and component (server, client, gateway)Identifies which OPC UA implementation and which vendor documentation applies
Version and patch levelSoftware or firmware version and installed patch level, with release dateSecurity policies and TLS settings differ by release, so the record must name the exact build
Owner and locationResponsible team, contact and physical or network location of the deviceAssigns each upgrade decision and shows which sites or segments a change would reach
Protocol and transportopc.tcp, HTTPS or WebSockets, and the TLS version in useThe transport determines which OPC 10000-6 security layer applies; TLS older than 1.2 should not be enabled
SecurityPolicy nameThe policy in use (for example Basic256Sha256 or Aes256-Sha256-RsaPss), and whether security mode None is enabledThe policy names the signing, encryption and key-derivation algorithms, so it is the core of the inventory
Algorithm and key sizeRSA or ECC key type, key length (2048, 3072 or 4096 bits) and named curve for ECC policiesPublic-key algorithms are what a post-quantum assessment must replace or supplement; 2048-bit keys can already be considered insecure
Certificate issuer and expiryIssuing authority, certificate expiry date and whether it is an X.509 version 3 certificateCertificates are checked against TrustLists during SecureChannel setup, so issuer and expiry control whether connections succeed
Key rotation intervalConfigured interval for changing Client/Server keys, checked against the at-least-every-two-hours guidanceOPC 10000-2 section 4.13 calls for rotation at least every two hours; a longer setting should be flagged
Configurable or vendor-fixedWhether the policy, key size and rotation are set by the customer or fixed by the vendorFixed settings cannot be changed by the customer, so they point to an upgrade or vendor dependency
Confidentiality periodHow long the data protected by the session must stay confidentialLong-lived data is the main reason to prioritize a stronger or post-quantum setting, so this drives the upgrade order

Which OPC UA functions depend on public-key algorithms, and which rely only on symmetric ones?

The public-key dependencies in OPC UA sit in the SecureChannel setup and in the certificates it exchanges. According to OPC 10000-2 (OPC UA Part 2), the specification shows three places where public-key algorithms are used: RSA or ECC certificates and signatures, RSA encryption, and Diffie-Hellman key agreement. Diffie-Hellman is finite-field for RSA-based security policies and elliptic-curve for ECC-based policies. Each of these is an asymmetric operation that an inventory must record against the specific security policy in use, because the policy determines which of them run in a given channel.

The same section adds two conditional rules that narrow the list. Ephemeral keys are needed only for ECC policies, and asymmetric encryption is needed only for RSA policies (OPC UA Part 2, section 4.7). An RSA policy therefore does not need ephemeral elliptic-curve keys, and an ECC policy does not need RSA encryption. Engineers should check which policy each endpoint offers and negotiates, since a server may expose several. The sources listed here do not say how each product exposes its policy list, so confirm that with the vendor and in the server configuration.

The sources reviewed here do not give a full assessment of which functions depend on RSA and elliptic-curve keys, and the detail belongs on the sibling page, which maps those data flows and logins in turn. Symmetric algorithms appear in the same channels for message protection, but this page does not establish which OPC UA functions rely only on symmetric primitives. Use the sibling page as the next step, and use the OPC UA Part 2 full text as the reference for each policy's algorithm set.

How do you gather the OPC UA cryptography details for the inventory?

This sequence collects, from each OPC UA server and its supporting documents, the security settings, certificates, key sizes and TLS floor that an inventory needs. Each step names what to record, so the result can be checked against the specifications and the vendor's answers.

  1. Export each server's security policies and endpoints

    The engineer who administers each OPC UA server exports the SecurityPolicies and endpoints the server offers, including the security mode for each one. Record every policy name exactly as the server reports it, such as Basic256Sha256 or Aes256-Sha256-RsaPss, because the name determines the algorithms used for signing, encryption and key derivation. Check that the None profile and security mode None are either absent or disabled, since the specification disables them by default. The step is done when every endpoint on every server appears in one list with its policy and mode.

  2. List application certificates and TrustList contents

    The engineer lists the application certificate each server and client presents, and the contents of each TrustList that the server uses to check peer certificates. Record the subject, issuer, validity dates and thumbprint for each entry. The specification says OPC UA uses only X.509 version 3 certificates, so note any certificate that does not match this. The step is done when every certificate in use, and every trusted entry, is recorded against the system that holds it.

  3. Record key lengths and curves in use

    For each policy in the export, record the RSA key length or the named elliptic curve that the policy uses for certificates and ephemeral keys. The specification says each ECC policy defines exactly one named curve, and that RSA policies map key lengths of 2048 to 4096 bits to specific Diffie-Hellman groups. The profile documents in OPC 10000-7 list the required lengths, and the specification notes that 2048-bit keys can already be considered insecure. The step is done when every certificate and policy has its key length or curve written next to it.

  4. Confirm the TLS version floor for HTTPS and WebSocket transports

    For any server that uses the HTTPS or WebSockets transport, the engineer confirms that the lowest enabled TLS version is 1.2 or later. Section 6.13 of the Part 2 specification says versions older than TLS 1.2 have known weaknesses and should not be enabled. Record the configured minimum and the highest version the server supports. Servers that use only the opc.tcp transport do not run TLS in this way, so mark them separately. The step is done when each server using these transports has its TLS floor recorded or marked as not applicable.

  5. Review vendor documentation for signing and update details

    The engineer reads the device or product documentation for each server to find how software and firmware are signed, how certificates are renewed and how updates are delivered. Record the document name, version and date for each source. The OPC UA specifications describe the protocol, not how each vendor signs its own code, so these details come only from the vendor. The step is done when each product has a documentation entry covering signing, certificate renewal and updates.

  6. Request what the endpoint cannot show from the vendor

    For any detail the endpoint does not expose, such as the signing algorithm of a firmware image, the internal key storage, or a plan for stronger policies, the engineer writes a request to the vendor. The request should name the product, version and build, and ask for each missing item in turn. Keep the vendor's written answer with its date. The sources listed on this page do not say what any vendor has committed to, so treat every vendor answer as the only confirmation until it is checked. The step is done when each open item has either a written answer or a recorded note that the vendor has not replied.

What do engineers and vendor-risk reviewers ask about OPC UA cryptography?

Is OPC UA quantum safe?

Based on the sources read for this page, OPC UA does not currently use post-quantum algorithms. The OPC 10000-2 release 1.05.06 Part 2 text, the OPC 10000-6 transport mapping and the OPC 10000-7 security profiles, as checked on 2026-12-04, contain no mention of quantum or post-quantum algorithms in the portions read. Its SecureChannel relies on RSA or elliptic-curve certificates and signatures, RSA encryption and Diffie-Hellman key agreement, as described in section 4 of Part 2 and clause 6.8 of Part 6. Those are the public-key dependencies to inventory. Whether a later release adds post-quantum policies is a question for the OPC Foundation and your vendor, and the sources read here do not say.

Which OPC UA version should we record in our inventory?

Record the exact specification release and the product build separately. The Part 2 Security Model reference page showed release 1.05.06, published 2025-10-22, as of 2026-12-04. Your installed product, however, may implement an older or different release, so take the version from the vendor's documentation or the running software, not from the spec. Also record which SecurityPolicy URIs and security modes the server and clients enable, because policies such as Basic256Sha256 and Aes256-Sha256-RsaPss determine which keys are actually in use. The None profile is disabled by default, so confirm whether your deployment has turned it on.

Does the cryptographic inventory cost extra?

The sources do not give a price for an inventory, and nothing on this page estimates one. The cost depends mainly on the number of OPC UA servers, clients and gateways, how many are in use, and whether each one's certificates, TrustLists and enabled policies can be read directly or must be gathered by hand from device configuration. Inventory work is usually one-time, while keeping the record current is recurring. When you request a quote, ask who performs the discovery, whether the output is a dated list of endpoints, policies, certificates and key lengths, and whether it includes systems that cannot be upgraded.

What should we ask the vendor about OPC UA cryptography?

Ask which OPC UA release and SecurityPolicies each product version implements, and which of them are enabled by default. Ask whether the None profile and security mode None can be disabled, since the specification says they are disabled by default. Ask which RSA key lengths the product supports, because clause 6.8 of Part 2 notes that 2048-bit keys can already be considered insecure. Ask how certificates are generated, stored and replaced, and whether TrustList handling and session key rotation are configurable. Finally, ask for any published statement on post-quantum cryptography, with its date. The OPC UA roadmap page, checked on 2026-12-04, does not mention post-quantum or quantum-resistant cryptography, so a vendor's answer should be checked against its own documentation.

Can our team do the OPC UA cryptographic inventory itself?

Often yes, if your engineers can read each device's configuration and the endpoints it advertises. The work is mostly collection: listing each server and client, the SecurityPolicies and modes it allows, the certificates it trusts and presents, and the TLS versions in use. The specification is useful for interpreting the results. Part 2 section 6.13 says TLS versions older than 1.2 should not be enabled, and clause 7.4.1 of Part 6 says HTTPS with signing and encryption must be used when the AuthenticationToken is the session identity. Outside help is worth considering when many devices are vendor-locked, when configuration cannot be read without vendor tools, or when you need an independent, documented result. DeployOpen can plan and run this kind of inventory for regulated environments, but it does not issue audit reports or certifications.

Which OPC UA settings should we check first?

Start with the settings that decide which keys are in use. Check whether the None profile and security mode None are disabled, since the specification says both are off by default. List the SecurityPolicies enabled on each endpoint, such as Basic256Sha256 or Aes256-Sha256-RsaPss from Annex A Table A.1, and note the asymmetric keys each one uses. Check the certificate key lengths, and confirm that user credentials are protected by encryption as sections 5.1.12 and 5.2.5 of Part 2 require. Last, check the TLS version and whether ephemeral keys and session key rotation are set as the Part 2 security model describes.

Does OPC UA's secure channel depend on public-key cryptography?

Yes. The SecureChannel uses public-key cryptography in three places: certificates and signatures, asymmetric encryption, and key agreement. RSA policies use RSA encryption and finite-field Diffie-Hellman, while ECC policies use elliptic-curve Diffie-Hellman with HKDF key derivation, as clause 6.8.1 of Part 6 describes. Section 4.7 of Part 2 says ephemeral keys are needed only for ECC policies and asymmetric encryption only for RSA policies. Symmetric algorithms protect the message contents once keys are agreed. Any inventory should therefore record which policy each connection uses, because the asymmetric dependencies differ between them.

How DeployOpen works on this

DeployOpen helps organizations build a cryptographic inventory for OPC UA, covering where secure channels, certificates and user tokens depend on RSA, Diffie-Hellman and elliptic-curve keys. Work runs inside your own infrastructure, with written scope agreed before any deployment or testing begins.

How we scope

  • Confirm which OPC UA servers, clients and gateways are in the inventory, with their versions and deployed security policies.
  • Record which transports are in use, including opc.tcp, HTTPS and WebSockets, since each carries different security behavior.
  • Agree in writing which certificates, trust lists and user token types are covered, so the inventory has a defined boundary.

How we build

  • Inventory the security policies and key lengths configured on each endpoint, comparing them against the profiles in OPC 10000-7.
  • Map each SecureChannel's certificate, signature and key agreement dependencies, and flag any use of ECC or RSA encryption settings.
  • Check whether None mode, TLS versions older than 1.2 or 2048-bit keys remain enabled, and document each finding with its source configuration.

How we hand over

  • Deliver an inventory register listing each endpoint, policy, certificate type, key length and user token method in one place.
  • Provide a dependency map that shows which data flows and logins rely on public-key cryptography, with the specification clause for each.
  • Include a list of items the sources do not cover, so your team can confirm them directly with the OPC Foundation or your vendor.

How we support

  • Ongoing support and retesting are available as a retainer, so the inventory can track configuration changes over time.
  • Re-check the inventory when a new OPC UA release, roadmap item or vendor notice is published, against the dated sources in the register.
  • Support covers the setup and maintenance of the inventory itself, while any cryptographic design decisions remain with your architects and vendors.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.