Validate OPCUA client application instance certificate|OPC UA Standard|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
Validate OPCUA client application instance certificate
Avatar
OPCUA USER
Member
Members
Forum Posts: 53
Member Since:
01/07/2022
sp_UserOfflineSmall Offline
1
08/01/2024 - 04:22
sp_Permalink sp_Print

Hi,

I have developed OPC UA SERVER application using CSharp(C#) language.

How to validate OPCUA client application instance certificate in OPC UA Server side in AnonymousIdentityToken policy?

My requirement is,

OPC UA server shall validate an OPC-UA Client application instance Certificate in AnonymousIdentityToken policy.

I have tried below code for validating OPCUA client application instance certificate  in anonymousIdentityToken policy but x509obj object getting null value.

 

// check for anonymous token.
if (args.NewIdentity is AnonymousIdentityToken || args.NewIdentity == null)
{

// check for x509 application instance certificate
X509IdentityToken x509obj = args.NewIdentity as X509IdentityToken;//x509obj return null value here

}

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