OPC connections working from gateway A but not from gateway B

I have an Ignition gateway A that's able to connect to a number of other Ignition OPC servers and Postgres databases. When I back up A and restore it to another machine B on the same network (using standard gwcmd to run the backup and restores), but with a different IP address, I can't connect to those servers or databases. Where should I start troubleshooting the connection failures? (I.e. where in the logs should I look, etc).
Not expecting a full solution here, just a sense of where to start debugging.

Certificates to be approved on both ends of OPC UA connections. Not part of backups, IIRC.

dang, aight -- are the certs tied to FQDN, hostname, etc?

Also how would I export/import them

Each gateway constructs a self-signed certificate for itself for OPC UA purposes. Look in the OPC security section. Also got to each of those servers to "trust" the new Ignition server.

1 Like

Thanks -- i don't suppose there's any way to use gwcmd to export the pkey/keychain and import it to gateway B?
(I don't want to have to modify the keychains/trusted servers of the other systems)

I know there's an exportks and similar command set in GWCMD

Also, I'm assuming the DB connection issue is either also a cert or just some IP level firewalling?

I'd start by looking at the faults in the Gateway, there should be error messages and stack traces. The certs are a good lead for the OPC UA connections, not as common for the DB connections.

1 Like

Great, in the logs of the gateway?

The Gateway status pages for these connections should tell you about the faults and let you see a stack trace.

1 Like