Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
ApplicationUri
September 12, 2017
10:52, EEST
Avatar
cguerin
Vienna, Austria
Member
Members
Forum Posts: 20
Member Since:
April 9, 2013
sp_UserOfflineSmall Offline

Hi,

I am using the latest OPC UA Client (2.3.3-170)
It seems like the ApplicationUri is created at launch of the software.
The problem is that sometimes it does not match the one from the Certificate.
The one in the certificate is like that:
urn:[COMPUTER_NAME].[DOMAIN_NAME]:ProsysOpcUaClient

The one in the CreateSession (the same in the About Menu) is
urn:[COMPUTER_NAME]:ProsysOpcUaClient

When I restart the application sometimes the one in the About Menu/CreateSession is the same as the certificate.

As specified in the OPC UA Specification, the OPC UA Server shall check both when connecting with a secure SecurityPolicy.
So sometimes I can not connect Prosys OPC UA Client with my OPC UA Server with a secure Security Policy, only None is working.

Regards.
Camille

September 12, 2017
12:23, EEST
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 983
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline

Hi,

As the ApplicationUri must be globally unique (at least in the context of the network), the hostname is used for a part of it.

If the computer is moved from a network which has domain to one without (or domain/hostname changes), then currently you need to delete the application certificates and then restart the application so that they are recreated when the application starts. Hopefully in the future we can manage this situation more conveniently.

The certs are in folder C:\ProgramData\Prosys\ProsysOpcUaClient\PKI\CA\private on windows (note that the ProgramData is a hidden folder by default, but copying that to windows explorer should work) and on others OS under (user.home)/.prosys/ProsysOpcUaClient/PKI/CA/private.

– Bjarne

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 518

Currently Online:
16 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

rocket science: 77

ibrahim: 75

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

fred: 41

Member Stats:

Guest Posters: 0

Members: 685

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1467

Posts: 6259

Newest Members:

fidelduke938316, Jan-Pfizer, DavidROunc, fen.pang@woodside.com, aytule, rashadbrownrigg, christi10l, ahamad1, Flores Frederick, ellenmoss

Moderators: Jouni Aro: 1009, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 983, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 26, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 321, Lusetti: 0, Ari-Pekka Soikkeli: 5

Administrators: admin: 1