Phase 3 PR 71 -- OpcUaAuthType.Certificate user authentication #70
Reference in New Issue
Block a user
Delete Branch "phase-3-pr71-opcua-client-cert-auth"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Implements the third user-token type (
Anonymous+Usernamealready worked). Previously theCertificatebranch threwNotSupportedException.UserCertificatePath+UserCertificatePassword.BuildCertificateIdentityloads the PFX viaX509CertificateLoader.LoadPkcs12FromFile(non-obsolete .NET 9+ API).InvalidOperationExceptionwith field name; missing file →FileNotFoundException; no private key → clear error explaining why it's needed.UserIdentity(X509Certificate2)ctor wires through to the SDK session-activation payload.Validation
dotnet build: 0 errorsFeature status
All three OPC UA user-token types now supported per
driver-specs.md§8: Anonymous + Username + Certificate.Test plan