I am evaluating the C++ Client SDK and running client_lesson04, trying to browse the endpoints on the "Quickstart Reference Server" of the OPC Foundation (https://github.com/OPCFoundation/UA-.NETStandard)
When I run the example I get the following error trying to get the endpoints from the https URL:
Code: Select all
** DiscoveryUrl [https://<hostname>:62540/Quickstarts/ReferenceServer/discovery] ***********************
GetEndpoints failed with status BadDisconnect
Code: Select all
[uastack]
verify error:
num=18:self signed certificate
depth=0
/DC=<hostname>/O=OPC Foundation/ST=Arizona/C=US/CN=Quickstart Reference Server
[uastack] OpcUa_Socket_FinalizeSslConnect: SSL certificate verification result 18 -> "self signed certificate"!
[uastack] OpcUa_HttpsStream_Read: End of Stream reached! Buffer 0 of 0!
Adding Url opc.tcp://<hostname>:62541/Quickstarts/ReferenceServer
...