Hi,
I am getting UascServerAsymmetricHandler error in the logs whenever I am trying to connect an external OPC UA Client (UA Expert) to Ignition. As mentioned above I am running version 8.1.2.
The security policy is set to Basic256Sha256. But for some reason in the logs it shows up as securityPolicy=None
I imported the Client certificate into Ignition and vice versa on the UA Expert side. When I try to establish a connection I get the following error:
But when I add Basic128Rsa15,None ( because I am using this to connect Kepware OPC UA client to Ignition elsewhere) to the security policy, I am able to connect UA expert to Ignition.
Another thing I noticed is whenever a UA client tries to connect to Ignition, its client certificate shows up under the "Quarantined Certificates" section and I need to trust them. But when I have the security policy to Basic256Sha256. nothing of that sort happens. I had to manually exchange the UA Client certificate and Ignition Server certificate between UA Expert and Ignition. But if I change the security policy to Basic256Sha256,Basic128Rsa15,None, then the certificates are automatically exchange and I just have to trust them at the client and server end.
31Jul2021 19:34:03 Error installing security token: StatusCode{name=Bad_SecurityChecksFailed, value=0x80130000, quality=bad}
org.eclipse.milo.opcua.stack.core.UaException: no matching endpoint found: transportProfile=TCP_UASC_UABINARY, endpointUrl=opc.tcp://localhost:62541, securityPolicy=None, securityMode=None
at org.eclipse.milo.opcua.stack.server.transport.uasc.UascServerAsymmetricHandler.lambda$openSecureChannel$3(UascServerAsymmetricHandler.java:407)
at java.base/java.util.Optional.orElseThrow(Unknown Source)
at org.eclipse.milo.opcua.stack.server.transport.uasc.UascServerAsymmetricHandler.openSecureChannel(UascServerAsymmetricHandler.java:397)
at org.eclipse.milo.opcua.stack.server.transport.uasc.UascServerAsymmetricHandler.lambda$sendOpenSecureChannelResponse$1(UascServerAsymmetricHandler.java:301)
at org.eclipse.milo.opcua.stack.core.channel.SerializationQueue.lambda$encode$0(SerializationQueue.java:57)
at org.eclipse.milo.opcua.stack.core.util.ExecutionQueue$Task.run(ExecutionQueue.java:119)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Thanks