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: 1032
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: 1919

Currently Online:
20 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Heikki Tahvanainen: 402

hbrackel: 144

rocket science: 88

pramanj: 86

Francesco Zambon: 83

Ibrahim: 78

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

Member Stats:

Guest Posters: 0

Members: 726

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1529

Posts: 6471

Newest Members:

gabriellabachus, Deakin, KTP25Zof, Wojciech Kubala, efrennowell431, wilfredostuart, caitlynfajardo, jeromechubb7, franciscagrimwad, adult_gallery

Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0

Administrators: admin: 1