# Error connection Ignition 7.9.6 to Kepware

**URL:** <https://forum.inductiveautomation.com/t/error-connection-ignition-7-9-6-to-kepware/34981>\
**Category:** Ignition\
**Created:** [May 22, 2020, 5:22pm UTC](https://forum.inductiveautomation.com/t/error-connection-ignition-7-9-6-to-kepware/34981 "2020-05-22T17:22:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![kade.castille](https://avatars.discourse-cdn.com/v4/letter/k/f05b48/32.png) [@kade.castille](https://forum.inductiveautomation.com/u/kade.castille)\
**Post date:** [May 22, 2020, 5:22pm UTC](https://forum.inductiveautomation.com/t/error-connection-ignition-7-9-6-to-kepware/34981/1 "2020-05-22T17:22:49Z")

</div>

Hello, I am trying to establish an OPC-UA connection to Kepware from Ignition. When trying to connect in Ignition, I keep getting the following error:

UaException: status=Bad\_SecurityChecksFailed, message=An error occurred verifying security.  
at org.eclipse.milo.opcua.stack.client.handlers.UaTcpClientAcknowledgeHandler.onError(UaTcpClientAcknowledgeHandler.java:232)  
at org.eclipse.milo.opcua.stack.client.handlers.UaTcpClientAcknowledgeHandler.decode(UaTcpClientAcknowledgeHandler.java:128)  
at io.netty.handler.codec.ByteToMessageCodec$1.decode(ByteToMessageCodec.java:42)  
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:387)  
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:245)  
at io.netty.handler.codec.ByteToMessageCodec.channelRead(ByteToMessageCodec.java:103)  
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)  
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)  
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:962)  
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)  
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:528)  
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:485)  
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:399)  
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:371)  
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)  
at java.lang.Thread.run(Unknown Source)

Someone on a somewhat similar post suggested that doing an edit/save would work but it hasn’t for me. I’m not really sure what to do and I would really appreciate some help! Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 22, 2020, 5:38pm UTC](https://forum.inductiveautomation.com/t/error-connection-ignition-7-9-6-to-kepware/34981/2 "2020-05-22T17:38:56Z")

</div>

You probably need to go into Kepware’s OPC UA configuration and mark Ignition’s client certificate as trusted.

---

<div class="post-metadata">

**Author:** ![kade.castille](https://avatars.discourse-cdn.com/v4/letter/k/f05b48/32.png) [@kade.castille](https://forum.inductiveautomation.com/u/kade.castille)\
**Post date:** [May 22, 2020, 5:39pm UTC](https://forum.inductiveautomation.com/t/error-connection-ignition-7-9-6-to-kepware/34981/3 "2020-05-22T17:39:44Z")

</div>

Also, I’ve tried playing around with the security settings within Kepware, reissuing instance certificates, and enabling anonymous login. Nothing has worked.

---

<div class="post-metadata">

**Author:** ![kade.castille](https://avatars.discourse-cdn.com/v4/letter/k/f05b48/32.png) [@kade.castille](https://forum.inductiveautomation.com/u/kade.castille)\
**Post date:** [May 22, 2020, 5:41pm UTC](https://forum.inductiveautomation.com/t/error-connection-ignition-7-9-6-to-kepware/34981/4 "2020-05-22T17:41:30Z")

</div>

Hey Kevin, appreciate the speedy response. The client certificate is marked as trusted. I’m not sure whether this is an issue with Ignition or Kepware at this point.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 22, 2020, 5:42pm UTC](https://forum.inductiveautomation.com/t/error-connection-ignition-7-9-6-to-kepware/34981/5 "2020-05-22T17:42:38Z")

</div>

The error code is coming from Kepware so you probably need to focus your efforts there. Kepware support might be able to tell you _why_ it’s happening, but there’s no additional information available to Ignition.

---

<div class="post-metadata">

**Author:** ![kade.castille](https://avatars.discourse-cdn.com/v4/letter/k/f05b48/32.png) [@kade.castille](https://forum.inductiveautomation.com/u/kade.castille)\
**Post date:** [May 22, 2020, 5:43pm UTC](https://forum.inductiveautomation.com/t/error-connection-ignition-7-9-6-to-kepware/34981/6 "2020-05-22T17:43:13Z")

</div>

Sounds good. Appreciate your advice!

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 22, 2020, 5:46pm UTC](https://forum.inductiveautomation.com/t/error-connection-ignition-7-9-6-to-kepware/34981/7 "2020-05-22T17:46:03Z")

</div>

You do need to reinitialize Kepware after making any of those changes.

You also need to restart Ignition if you did any kind of refresh in the Ignition OPC UA client certs.
