Skip to content

[Bug]: Invalid lenByte - Issue connecting to Eclipse Milo OPC UA server with 4096-bit certificate using PLC4X SDK #2286

@Skydreamer-123

Description

@Skydreamer-123

What happened?

Hello,

I'm currently testing the PLC4X SDK to establish a connection to an OPC UA server implemented using Eclipse Milo, which uses a 4096-bit certificate.

The server certificate is generated by Eclipse Milo, and the corresponding public key has been successfully extracted. The client certificate is generated as follows:
(details to be added later)

The connection already works without issues using other OPC UA clients (with support for 4096-bit certificates), so the setup appears to be correct in general.

However, using the PLC4X SDK, I am encountering issues when trying to establish the connection. I suspect it may be related to the certificate length or trust configuration.

I would appreciate any help or insights you could provide on this matter.

Thank you very much in advance!

Best regards,
Daniel

Client(plc4x) exception.log
Server(eclipse_milo) exception.log

Server Cert.txt
Client_Cert.txt

Version

v,0.14.0-SNAPSHOT

Programming Languages

  • plc4c
  • plc4go
  • plc4j
  • plc4net
  • plc4py

Protocols

  • AB-Ethernet
  • ADS /AMS
  • BACnet/IP
  • C-Bus
  • CANopen
  • EtherNet/IP
  • Firmata
  • IEC-69870
  • KNXnet/IP
  • Modbus
  • OPC-UA
  • Profinet
  • S7
  • S7-light

Metadata

Metadata

Assignees

No one assigned

    Labels

    OPC-UAhttps://plc4x.apache.org/users/protocols/opcua.html

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions