You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (subjectName.Contains("=") || !certificate.Subject.Equals("CN=" + subjectName))
Server was first started with subjectName = "Example-Server" --> Example-Server cert is created.
Afterwards I start the Server with subjectName = "Example" --> Example-Server cert is loaded. I expected that it generates a new cert ("Example").
The text was updated successfully, but these errors were encountered:
https://github.com/OPCFoundation/UA-.NET/blob/09fc41442d9d1493b194e3649c8b2337b4d2ae02/Stack/Core/Security/Certificates/DirectoryCertificateStore.cs#L421
This line should be replaced with:
if (subjectName.Contains("=") || !certificate.Subject.Equals("CN=" + subjectName))
Server was first started with subjectName = "Example-Server" --> Example-Server cert is created.
Afterwards I start the Server with subjectName = "Example" --> Example-Server cert is loaded. I expected that it generates a new cert ("Example").
The text was updated successfully, but these errors were encountered: