Unfortunately, I cannot display any OPCua variables with mappView. I suspect this is due to the security settings, but I don’t know what I have set incorrectly. Can anyone help?
It seems like you want to encrypt the OPC UA communication, as you do not accept unsecured communication.
For this you will need to create certificates / key + SSL configuration and add those SSL configurations to mappView (as a OPC UA client) and you OPC UA server.
With AS4 you will need an external tool (openSSL) to create a OPC UA client certificate (for mappView), with AS6 this should also be possible with Automation Studio.
I think logger will tell you what is your problem. Check records in module Visualiazation and Communication. If you would like configure secure communication I posted recently two articles about that
@kovarj Thanks for the two links. Everything is explained wonderfully step by step, very good!
Unfortunately, the result is still the same. No OPC UA variables are still being displayed on the visualization. However, I was able to locate an error message using the logger…
“Failed to connect to configured OPC UA server (serverAlias: ”“). Status: BadCertificateInvalid”
Hm, the only thing I can tell you is that this error indicates that the OPC UA application rejected the peer’s certificate because it failed validation (for example, it is untrusted, expired, has an incorrect Application URI, or does not match the configured security policy).
My step-by-step procedure is described in a way that you first try OPC UA secured communication with UAExpert. When this works (does this work for you?), you can continue with mappView. Is there anyone in the Community who has experience in how to investigate more details of the cause of this issue?