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: 218
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: 52

Currently Online: japedGAL
9 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

pramanj: 86

hbrackel: 74

ibrahim: 65

kapsl: 57

gjevremovic: 49

TimK: 41

fred: 36

Fransua33: 35

Rainer Versteeg: 32

peterrob45: 25

Member Stats:

Guest Posters: 0

Members: 633

Moderators: 10

Admins: 1

Forum Stats:

Groups: 3

Forums: 14

Topics: 664

Posts: 2891

Newest Members:

TheChosenone, alj2017, Cliftonol, erno, JackieStync, gbalychik, broessl, axelyz, powerastroguru, Thomas Reuther

Moderators: Jouni Aro: 792, Otso Palonen: 32, Tuomas Hiltunen: 5, janimakela: 0, Pyry: 1, Terho: 0, Petri: 0, Bjarne Boström: 218, Heikki Tahvanainen: 264, Jukka Asikainen: 1

Administrators: admin: 0