# URI specified in the ApplicationDescription does not match the URI in the Certificate

**URL:** <https://forum.inductiveautomation.com/t/uri-specified-in-the-applicationdescription-does-not-match-the-uri-in-the-certificate/37283>\
**Category:** Ignition\
**Created:** [August 1, 2020, 2:33pm UTC](https://forum.inductiveautomation.com/t/uri-specified-in-the-applicationdescription-does-not-match-the-uri-in-the-certificate/37283 "2020-08-01T14:33:17Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![Mark.Foltarz](https://avatars.discourse-cdn.com/v4/letter/m/ac91a4/32.png) [@Mark.Foltarz](https://forum.inductiveautomation.com/u/Mark.Foltarz)\
**Post date:** [August 17, 2020, 6:36pm UTC](https://forum.inductiveautomation.com/t/uri-specified-in-the-applicationdescription-does-not-match-the-uri-in-the-certificate/37283/12 "2020-08-17T18:36:06Z")

</div>

I was able to change ( ans supposedly match) the URI but I am still getting error.

Look in the C:\Program Files (x86)\Rockwell Software\RSOPC Gateway directory.  
for a file called “create\_server\_certificate.bat”  
You can edit line # 96 :

SET SERVER\_ALTERNATIVE\_SUBJECT=URI:urn:%HOST\_NAME%:\*\*FactoryTalk Linx Gateway OPC UA Server,\*\*DNS:%FQDN%,IP:%IP\_ADDRESS%

Change “FactoryTalk Linx Gateway OPC UA Server” to “FactoryTalkLinxGatewayOPCUAServer” or whatever you want and save the .bat file.

You then regenerate the certificate.

In FactoryTalk Gateway you will see the URI has changed.

Verify contenets of cert by running certutil -dump cert\_ftgw\_opcua\_server.der from a command window.

I then created the connection in Ignition but I am still getting error :  
UaException: status=Bad\_CertificateUriInvalid,  
message=The URI specified in the ApplicationDescription does not match the URI in the Certificate.

---

_[View the full topic](https://forum.inductiveautomation.com/t/uri-specified-in-the-applicationdescription-does-not-match-the-uri-in-the-certificate/37283)._
