“BasicClient” has BadCertificateUntrusted

Questions regarding the use of the .NET SDK 2.0 for Server or Client development or integration into customer products ...

Moderator: uasdknet

Post Reply
ecpark
Jr. Member
Jr. Member
Posts: 1
Joined: 11 Sep 2019, 05:43

“BasicClient” has BadCertificateUntrusted

Post by ecpark »

I use your “UAExpert” and “BasicClient” (.Net base Sample) program.
“UAExpert” works well, but “BasicClient” has some problems.

I can connect the OPC Server with “BasicClient”.
But I can’t get value of node id ([18/01].Rd_ASV_+5V) with BasicClient.
“BadUserAccessDenied” occurs.

So, I added same user name and password for user higher access like UAExpert connection.

m_session.UserIdentity = new UserIdentity() { IdentityType = UserIdentityType.UserName, UserName = "070", Password = "070f467" };

But, connections failed with "BadCertificateUntrusted".

Please help me.

Post Reply