I am trying to get telegraf to read from kepware using the opcua_listener plugin. When I try to connect to one of my kepware servers I get this error:
Error running agent: starting input inputs.opcua_listener: error in Client Connection: x509: negative serial number
When I log into the VM running kepware and check the cert using UAExpert I see the serial number listed as -1F3ADFCD.
However, if I export the cert and try to load it on my dev machine (macOS) I see the serial number listed as 3717183976.
I spoke with kepware support and they said that kepware does not produce negative serial numbers. Why does telegraf and UAExpert see a negative, but kepware and macOS see a positive serial?
In my attempt to google this it seems that telegraf might be interpreting the serial number as a int32, when it’s really supposed to be a uint32? Is it possible to get telegraf to read this as a uint32, or otherwise to ignore the negative serial number error?