[URGENT] what happens when we use our ignition opc ua server for modbus assets and the opc ua sever certificate expires?

Hello Forum,
we are using the ignition opc ua server (the loopback) and we are using it for modbus assets, and the certificate expired but connection is still working.

I want to regenerate a certificate but I want to know if this will kill our connection to the modbus assets or for the loopback server it's just internal and we will do all configuration inside ignition (because we do not have direct access to the assets!!)

I want to know how ignition uses the loopback server when using modbus!
Please Help :slight_smile: .
Have a good day.

Your devices will be briefly interrupted.

Ignition uses its OPC client for all access to OPC values, including those exposed in its internal OPC server.

Thank you for your response, so I will just need to regenerate it? and I don't need to put it in another part to be trusted? it will be directly configured because it's internal to ignition right.

also I m doing the tests on our dev and I see that our modbus cannot reconnect it says reconnecting after that it disconnects, please where can I see the logs of the modbus connection. [I m seeing the logs (status -> connections -> devices) ]

Pretty sure you will. (Also, with modern Ignition, you can set a long expiration on your regenerated certificate.)

That is directly related to your problem with the OPC certificate. It could be that your devices disconnect when idle (commonly ten seconds on many devices), and they are idle because your OPC problem is preventing any subscriptions from being set up. So it mix fix itself when the OPC connection is fixed.

1 Like

Ok, so I need to put the certificate in another place in order to reconnect, where do I need to put it? in my modbus device? (excuse my ignorance..)

No, entirely within Ignition. (Sorry, I don't normally run my own Ignition instances long enough for the OPC cert to expire, and my clients have all navigated it without my help.)

1 Like

When the OPC UA module (or better, Gateway) is restarted you will temporarily lose connection to all of your devices.

thank you, I really want to know what is the flow of the certificates when using the loopback server of ignition.
basically client and server share the certificate and they check each other identity right?

The certificate is validated like it would be for any other external OPC UA application.

The only special behavior is that when the OPC UA module starts up it makes sure that the client and server mutually trust each other's certificate.

The internal/loopback connection is not special in any other way, and the server does not treat it specially otherwise.

2 Likes

Thank you for your answers , now I have a clearer vision