跳到主内容

OPCUA Certificate Error

评论

6 条评论

  • Kyle Reynolds

    This is because the either the hostname or IP don't match what is in the certificate. You should be able to suppress the error, but you would need to look it up in the UA Expert documentation as I'm not sure how to do it. Try looking in the Certificate Manager.

    You could also check the certificate to see what the mismatch is and change the IP address or use the correct hostname as the Endpoint Url.

    0
  • David_Nolan

    the IP field in the certificate properties is 10.0.0.253. the actual IP address is the one shown in my above screenshot. the UA expert client actually connects and i can read data. so the certificate is just not right somehow. is there a way i can force the UA server to reconstruct/modify it to the right IP?

    0
  • Kyle Reynolds

    I believe you would need to create a new certificate. Here are some instructions from the developer forum:

    • Enable OPCUA Server in Ewon Flexy (System > Main > OPCUA

    • Declare your OPCUA connection in Ignition, with encryption. (OPC Client > OPC Connections --> Choose Sign & Encrypt, BASIC256SHA256)

    • Refresh the OPCUA Settings of Flexy and trust the Ignition certificate (Right-click and click "trust" and update)

    • Then download the Flexy OPCUA certificate on your PC



    0
  • David_Nolan

    I'm not sure we are both on the same page regarding this problem: I am not using Ignition, but rather a Unified Automation .NET library, and and was looking more for insight into how the UA server on the Ewon builds that certificate. The certificate has an IP Address property that is not associated with the IP address the device is running with. Is there a way, on the Ewon side, that I can correct this?

    For me, the problem manifests itself from UAExpert in that the discrepancy must be ignored for the connection to take place. I would like to understand more about this behavior before trying to handle it from code.

    0
  • Kyle Reynolds

    If you delete the certificate and reboot the Ewon, it will create a new certificate with the new IP address. The certificate must have been created before the IP address was changed.

    0
  • David_Nolan

    Thanks! You guys never let me down!

    0

请先登录再写评论。