Professional OPC
Development Tools

logos

Notification - OPC-UA Server Instance Certificate Not Validated

More
17 Oct 2018 13:43 #6753 by support
You can set this in Delphi, but it needs to be done differently. What your code does is that simply creates and manipulates in-memory data which are not tied to the actual component performing the operations.

This is how to do it:

1. create an instance of EasyUAClientConfiguration.
2. set its .SharedParameters.EngineParameters.CertificateAcceptancePolicy.AcceptAnyCertificate to True.

Best regards

Please Log in or Create an account to join the conversation.

More
17 Oct 2018 10:17 #6752 by alr1976
Hi!

In delphi can accept any certificate?

this step is corrected?

var
Cert :EasyUAEngineParameters;

begin
Cert := CoEasyUAEngineParameters.Create;
Cert.CertificateAcceptancePolicy.AcceptAnyCertificate := true;

end;

Please Log in or Create an account to join the conversation.

More
17 Feb 2018 14:37 #6058 by support
Please read this:

opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...%20Instance%20Certificate.html

and

opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...ited%20User%20Interaction.html

If you know that you trust the server certificate: You can "accept" it every time. Or, you can move it from the rejected certificates store (typically CommonApplicationData\OPC Foundation\CertificateStores\RejectedCertificates) to the trusted peers store (typically CommonApplicationData\OPC Foundation\CertificateStores\UA Applications).

Best regards
The following user(s) said Thank You: p-toth

Please Log in or Create an account to join the conversation.

More
17 Feb 2018 11:33 #6056 by p-toth
Hi,
I'm new user. Could you help me someone, why UADataDialog display notification with not validate certificate if I want to display item on server:

Best reagrds.
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.243 seconds

      

 Recommend this on Google