Glossary · Connection

HTTPS transport

OPC UA over HTTPS uses opc.https:// or https:// and three profiles. https-uabinary tunnels UA Binary secure-channel messages one chunk per HTTP POST and keeps the full UA security model. https-uajson and https-uajson-openapi carry JSON with no UA secure channel and must be advertised with MessageSecurityMode None, relying on TLS.

Request/response instead of a stream

HTTP is a poor fit for a protocol built around a long-lived channel and a long-polled Publish. The binary profile works by mapping one secure-channel chunk onto one POST body of type application/octet-stream, which preserves security but adds a request round trip per chunk. Subscriptions still function through Publish requests, but the overhead compared with a single opc.tcp socket is substantial.

The JSON profiles trade UA security for reach

https-uajson uses content type application/opcua+uajson and no UA secure channel at all. Authentication becomes Anonymous, Bearer JWT, HTTP Basic or mutual TLS - the web stack's mechanisms rather than OPC UA's. That is deliberate, since the audience is web and cloud clients, but it means the security review is a TLS and token review, not a certificate and policy one.

Support reality

Outside the .NET reference stack, HTTPS transport support is thin, and no mainstream PLC exposes it. If a project plan depends on OPC UA over HTTPS, verify support on both ends before committing; the interoperable answer for machine-to-machine traffic remains opc.tcp, with a gateway translating to HTTP where a web consumer needs it.

Example

The REST-style surface on the HTTPS profiles

POST https://server:4843/read
Content-Type: application/json; encoding=compact      # or encoding=verbose

Body: the bare ReadRequest JSON - no {UaTypeId, UaBody} envelope at the HTTPS layer.

Binary profile instead:
POST https://server:4843/
Content-Type: application/octet-stream
Body: one UA Secure Conversation message chunk per POST.
The mistake people make: Placing a TLS-terminating reverse proxy in front of an https-uajson endpoint and treating it as transparent infrastructure. With no UA secure channel underneath, that proxy is the security boundary: it sees every service call in plaintext and can modify any of them.

Defined in: Part 6 - Mappings, the HTTPS transport mappings and Annex G for the OpenAPI variant.

Last verified 7 September 2026 against OPC UA 1.05.07. OPC UA Connect is an educational resource and is not affiliated with the OPC Foundation.

Free download
OPC UA Server Acceptance Test Pack
A 40-check acceptance test you run against a vendor's server before commissioning sign-off. Weighted scoring, three hard gates, and a one-page verdict for the supplier meeting.
Get the free test pack →
Free, no course, no login