# Issue with connecting Python OPCUA server with Ignition as a client

**URL:** <https://forum.inductiveautomation.com/t/issue-with-connecting-python-opcua-server-with-ignition-as-a-client/82958>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [December 11, 2023, 6:31am UTC](https://forum.inductiveautomation.com/t/issue-with-connecting-python-opcua-server-with-ignition-as-a-client/82958 "2023-12-11T06:31:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sri\_Haran](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@Sri\_Haran](https://forum.inductiveautomation.com/u/Sri_Haran)\
**Post date:** [December 11, 2023, 6:31am UTC](https://forum.inductiveautomation.com/t/issue-with-connecting-python-opcua-server-with-ignition-as-a-client/82958/1 "2023-12-11T06:31:50Z")

</div>

Hi,  
I wanted to establish a secure connection between my python opcua server to ignition,  
hence i tried connecting my python server with python client hence its working fine but the same when i tried it using ignition it not working and im getting this unable to find valid certification path to requested target error

```auto
io.netty.handler.codec.DecoderException: UaException: status=Bad_SecurityChecksFailed, message=sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

```

Could you please assist me in resolving this issue? your support is highly appreciated.

Regards,  
Sri Haran S

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [December 11, 2023, 8:36am UTC](https://forum.inductiveautomation.com/t/issue-with-connecting-python-opcua-server-with-ignition-as-a-client/82958/2 "2023-12-11T08:36:01Z")

</div>

Tip: use the \</\> button to format code blocks, not the ” (blockquote) button. More [here](https://forum.inductiveautomation.com/t/wiki-how-to-post-code-on-this-forum/77831).

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [December 11, 2023, 1:17pm UTC](https://forum.inductiveautomation.com/t/issue-with-connecting-python-opcua-server-with-ignition-as-a-client/82958/3 "2023-12-11T13:17:53Z")

</div>

> [@Sri\_Haran](#):
>
> my python opcua server to ignition

This is ambiguous. Do you want Ignition to act as the server or the client? (If the latter, a native English speaker would say "from Ignition".)

That said, your error indicates a mismatch between Ignition's security expectations and your python implementation's expectations. This is **normal** , at first, when one or both sides require certificates, and "accepting" the certificates isn't complete.

There's a section of Ignition's gateway web page where remote certificates can be accepted. How it would be done on the python side is up to you.
