# OPC Error Message with Flexy Connection

**URL:** <https://forum.inductiveautomation.com/t/opc-error-message-with-flexy-connection/30897>\
**Category:** Ignition\
**Created:** [December 23, 2019, 10:10am UTC](https://forum.inductiveautomation.com/t/opc-error-message-with-flexy-connection/30897 "2019-12-23T10:10:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![daeli](https://avatars.discourse-cdn.com/v4/letter/d/73ab20/32.png) [@daeli](https://forum.inductiveautomation.com/u/daeli)\
**Post date:** [December 23, 2019, 10:10am UTC](https://forum.inductiveautomation.com/t/opc-error-message-with-flexy-connection/30897/1 "2019-12-23T10:10:20Z")

</div>

Hello at all, i’m creating a new OPC connection with eWon Flexy but get faulted with this Message UaException: status=Bad\_SecurityChecksFailed, message=certificate path validation failed  
at.  
org.eclipse.milo.opcua.stack.core.util.CertificateValidationUtil.verifyTrustChain(CertificateValidationUtil.java:205)  
at  
org.eclipse.milo.opcua.stack.core.security.DefaultCertificateValidator.verifyTrustChain(DefaultCertificateValidator.java:45)  
at org.eclipse.milo.opcua.sdk.client.api.identity.UsernameProvider.getIdentityToken(UsernameProvider.java:168)  
at org.eclipse.milo.opcua.sdk.client.session.SessionFsmFactory.activateSession(SessionFsmFactory.java:858)  
at org.eclipse.milo.opcua.sdk.client.session.SessionFsmFactory.lambda$configureActivatingState$14(SessionFsmFactory.java:336)  
at com.digitalpetri.strictmachine.dsl.ActionBuilder$PredicatedTransitionAction.execute(ActionBuilder.java:76)  
at com.digitalpetri.strictmachine.StrictMachine$PollAndEvaluate.lambda$run$0(StrictMachine.java:207)  
at java.base/java.util.ArrayList.forEach(Unknown Source)  
at com.digitalpetri.strictmachine.StrictMachine$PollAndEvaluate.run(StrictMachine.java:198)  
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)  
8.0.3 (b2019080717)  
Azul Systems, Inc. 11.0.3

Can You Help me?  
Thanks

---

<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:** [December 23, 2019, 2:26pm UTC](https://forum.inductiveautomation.com/t/opc-error-message-with-flexy-connection/30897/2 "2019-12-23T14:26:13Z")

</div>

It sounds like you need to mark the eWon server certificate as trusted in the `Config > OPC UA > Security` section, on the “Client” tab.
