Skip to main content
4-Participant
August 14, 2026
Question

OPCUA Server BadCertificateHostNameInvalid connection error

  • August 14, 2026
  • 0 replies
  • 15 views

I am trying to connect to KEPServerEX 6 from an EWON device.  I set up the security and got he message on the KEPServer log that the EWON was now trusted and could open a connection.

When I tried to connect to browse for tags in the KEPServer, I received the error 

opcuaiosrv-Connect fail (BadCertificateHostNameInvalid)

on the client side.

After working on this for awhile, I noticed that the KEPServer certificate in the EWON repository was listed as being from the verbose computer name endpoint and I was trying to attach from the IP endpoint.

Would this make a difference and if so, how do I generate a KEPServer certificate for the IP endpoint?  I don’t seem to be able to attach to the computer name endpoint with the EWON device.

Or does this message mean something else?  The computer times are within a minute and security levels match.  The EWON doesn’t seem to allow no security connections, so I have no luck turning security off.