OPCFoundation / UA-.NETStandard-Samples

Other
244 stars 179 forks source link

GDS client - Null exception during registration using Push management #581

Closed z-krejsa closed 5 months ago

z-krejsa commented 6 months ago

Type of issue

Current Behavior

When I press the "Register" button in the "Push Management" dialog, the exception window appears with null exception (null value of endpoint), see the attached picture image

Expected Behavior

Functional registration

Steps To Reproduce

I also have found that the generated GDS Client certificate has validity from 04/04/2022 to 04/04/2023, so it's not valid now and is in the rejected list of the GDS server certificates. I'm not able to influence it, other certificates (GDS server and reference OPC UA server) have correctly generated certificates with actual date. image

Environment

- OS:Windows 10
- Environment: Microsoft Visual Studio Professional 2022 
- Runtime:
- Nuget Version:
- Component:
- Server:GDS server, Quickstart Reference Server.
- Client: GDS client

Anything else?

No response

z-krejsa commented 6 months ago

So I've finally found out what was wrong there was an old certificate in the Windows X509Store called CurrentUser\UA_MachineDefault. I viewed the certificates in the Windows Certificate Management Console (certmgr.msc) and deleted the old one GDS client certificate.

image