Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client Not Connecting with Mode Encrpyt and Sign And Algorithm is SHa256Basic #8

Open
RAJEEV2510 opened this issue Apr 16, 2023 · 3 comments

Comments

@RAJEEV2510
Copy link

: 'Error establishing a connection: Error received from remote host: An error occurred verifying security.'
Showing This Error

@katHamp
Copy link
Collaborator

katHamp commented Apr 18, 2023

Hi RAJEEV2510,
thanks for creating this issue!
The server may be refusing the connection because it is rejecting the client's certificate.
Please test for your server if the connection is allowed when you move the certificate from the "Rejected" folder (in CertificateStores) to the "Trusted" folder.

@RAJEEV2510
Copy link
Author

Yes, I did the server configuration properly but not working,it's working with none security.Pls share your code

@katHamp
Copy link
Collaborator

katHamp commented Apr 18, 2023

It seems to be a server side issue with the settings.
Please query the endpoints of the server with the OpcDiscoveryClient, e.g. by using the following code:

using var discoveryClient = new OpcDiscoveryClient("opc.tcp://192.168.0.116:4840");
var endpoints = discoveryClient.DiscoverEndpoints();
foreach (var endpoint in endpoints) {
Console.WriteLine(endpoint.Url + " - Policy: " + endpoint.Policy.Uri + ", Mode: " + endpoint.Policy.Mode);
}

You can also send us a sample code of your application, then we can reconstruct your problem.
For this, please contact [email protected].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants