Skip to content

[Bug]: Issue with connection using 4096-bit certificates #2013

Open
@gustavoschewinski

Description

@gustavoschewinski

What happened?

Hello,

The connection to PLC4X using 2048-bit certificates (both client and server) works fine. However, when switching to 4096-bit certificates for both, the connection fails.

On the OPCUA side, I receive an error stating "An error occurred verifying security", and in the PLC4X logs, I only see "Connection terminated by remote." It appears that the certificates are not being accepted.

I tested the certificates separately by doing a connection using a python library, and it worked, so the issue does not seem to be with the certificates themselves.

Any insights or suggestions would be greatly appreciated on how to fix this problem.

Thanks a lot!

Version

v0.13.0-SNAPSHOT

Programming Languages

  • plc4j
  • plc4go
  • plc4c
  • plc4net

Protocols

  • AB-Ethernet
  • ADS /AMS
  • BACnet/IP
  • CANopen
  • DeltaV
  • DF1
  • EtherNet/IP
  • Firmata
  • KNXnet/IP
  • Modbus
  • OPC-UA
  • S7

Metadata

Metadata

Assignees

Labels

OPC-UAhttps://plc4x.apache.org/users/protocols/opcua.htmljavaPull requests that update Java code

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions