-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
needs investigationquestionThe issue contains a question. After no activity the issue might be closed.The issue contains a question. After no activity the issue might be closed.
Description
Type of issue
- Bug
- Enhancement
- Compliance
- Question
- Help wanted
Current Behavior
Hello,
The OPCF's stack replace the ApplicationUri with the value from Certificate.SubjectAlternativeName.Url if they don't match when calling CheckApplicationInstanceCertificate(). This behavour is the same with the Server type or the Client type ApplicationConfiguration.
Expected Behavior
Shouldn't it throw an error with StatusCode Bad_CertificateUriInvalid instead?
Steps To Reproduce
- A x509 Certificate with SubjectAlternativeName.Url = "urn:a_mismatch_uri_string"
- Configure the ApplicaionConfiguration.ApplicationUri = "urn:foobar:123"
- Call application.CheckApplicationInstanceCertificates().
- ApplicaitonUri were replaced and no error.
Environment
- OS:
- Environment:
- Runtime:
- Nuget Version:
- Component:
- Server:
- Client:
Anything else?
No response
Metadata
Metadata
Assignees
Labels
needs investigationquestionThe issue contains a question. After no activity the issue might be closed.The issue contains a question. After no activity the issue might be closed.