# Security Mode and Policy for New OPC UA Connection

**URL:** <https://forum.inductiveautomation.com/t/security-mode-and-policy-for-new-opc-ua-connection/33904>\
**Category:** Ignition\
**Created:** [April 14, 2020, 12:16am UTC](https://forum.inductiveautomation.com/t/security-mode-and-policy-for-new-opc-ua-connection/33904 "2020-04-14T00:16:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mr.heidari63](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@mr.heidari63](https://forum.inductiveautomation.com/u/mr.heidari63)\
**Post date:** [April 14, 2020, 12:16am UTC](https://forum.inductiveautomation.com/t/security-mode-and-policy-for-new-opc-ua-connection/33904/1 "2020-04-14T00:16:22Z")

</div>

Hi,  
I wanted to create a new OPC UA connection but it keeps showing faulted. It say “no matching endpoint found.”  
I have set up every thing as bellow. What is wrong with configuration?

## Server Setting:

Security Policies: Basic256Sha256  
Anonymous Access Allowed = False  
User Source = opcua-module

## OPC UA connection Setting:

Endpoint Discovery URL= opc.tcp://localhost:62541/discovery  
Endpoint URL= opc.tcp://localhost:62541  
Security Mode = SignandEncrypt  
Security Policy = Basic256Sha256  
Usename = opcuauser  
Password = password

---

<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:** [April 14, 2020, 1:23am UTC](https://forum.inductiveautomation.com/t/security-mode-and-policy-for-new-opc-ua-connection/33904/2 "2020-04-14T01:23:11Z")

</div>

These look like pretty much the default settings.

Have you changed anything in the server settings? Did you restart afterwards?

---

<div class="post-metadata">

**Author:** ![mr.heidari63](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@mr.heidari63](https://forum.inductiveautomation.com/u/mr.heidari63)\
**Post date:** [April 14, 2020, 4:27am UTC](https://forum.inductiveautomation.com/t/security-mode-and-policy-for-new-opc-ua-connection/33904/3 "2020-04-14T04:27:27Z")

</div>

I changed some thing in server setting but now I set them as default.  
I already closed and reopened the Ignition windows in browser.

My Server setting:  
Bind Port = 62541  
Bind Addresses = localhost  
Endpoint Addresses = hostname, localhost  
Security Policies = Basic256Sha256  
Anonymous Access Allowed = False  
User Source = opcua-module  
Expose Tag Providers = true  
Backup Bind Addresses = 0.0.0.0  
Backup Endpoint Addresses = hostname, localhost  
Read-only When Inactive Node = false

---

<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:** [April 14, 2020, 1:46pm UTC](https://forum.inductiveautomation.com/t/security-mode-and-policy-for-new-opc-ua-connection/33904/4 "2020-04-14T13:46:41Z")

</div>

Closing and opening your browser doesn’t do anything meaningful, you need to restart the Ignition service.

The GCU has an argument for for restarting the service: [https://docs.inductiveautomation.com/display/DOC80/Gateway+Command-line+Utility](https://docs.inductiveautomation.com/display/DOC80/Gateway+Command-line+Utility)

You can also restart it in whatever way is native to the OS you’ve installed the Ignition Gateway on.

---

<div class="post-metadata">

**Author:** ![mr.heidari63](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@mr.heidari63](https://forum.inductiveautomation.com/u/mr.heidari63)\
**Post date:** [April 14, 2020, 5:13pm UTC](https://forum.inductiveautomation.com/t/security-mode-and-policy-for-new-opc-ua-connection/33904/5 "2020-04-14T17:13:19Z")

</div>

I could fix it. Tnx for sharing the link.
