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

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.

1 Like