New Certificate Token is not set after 45min of OpcUa Client/Server communicate|OPC UA Implementation: Stacks, Tools, and Samples|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
New Certificate Token is not set after 45min of OpcUa Client/Server communicate
Avatar
Hemanth Apte
New Member
Members
Forum Posts: 2
Member Since:
11/13/2016
sp_UserOfflineSmall Offline
1
12/12/2019 - 23:22
sp_Permalink sp_Print

Hello,
I am using .net SDK from https://github.com/OPCFoundati.....ETStandard to develop OPCUA client. 
My client is communicating to a remote OpcUa Server. Using BasicSHA256 certificate to communicate.
It connects and reads a variable continuously without any problem. Initial hand-shake is fine with certificate exchange. I see that public/private keys are present in the beginning with client certificate.
Exactly after 45min, the connection fails with a message "SecureChannelClosed". (bcos TokenRenewalPeriod = 0.75 and DefaultSecurityTokenLifeTime = 3600000 are set at client and SDK resp.)
I debugged SDK to find that "privatekey" of the client certificate is shown as "NULL" at this token exchange process.(GetRSAPrivateKey returns null at Rsa_Sign().)

I could not understand how this token is updated from client end after 45min of communication.
Please help me.

with regards,

Hemanth.

Avatar
Randy Armstrong
Admin
Forum Posts: 1451
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
12/13/2019 - 03:25
sp_Permalink sp_Print

Sounds like a bug but such a problem should have been caught long ago so something else is going on.

Please report on github.

Avatar
Hemanth Apte
New Member
Members
Forum Posts: 2
Member Since:
11/13/2016
sp_UserOfflineSmall Offline
3
12/13/2019 - 05:29
sp_Permalink sp_Print

Thank you for the reply.!

I have already posted in github of opcua also.  Waiting for some reply.

regards,

Hemanth

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 20
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1351
Posts: 4579