Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

Could not create a certificate via a proxy

More
16 Dec 2020 10:17 #9286 by support
There were issues when machines were upgraded to Windows 10 version 2004. But not this one; it's cause is unknown.

Regards

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

More
15 Dec 2020 11:32 #9281 by NAX
Hi again,

Thanks for the swift reply.

Is it the fact that the machines has been upgraded from an older Windows to e.g. Windows 10, that you often see this issue occur?
Or is this just an issue that happens in some rare instances? :)

Best regards
NAX

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

More
15 Dec 2020 11:31 #9280 by NAX
Hi again,

Thanks for the swift reply.

Is it the fact that the machines has been upgraded from an older Windows to e.g. Windows 10?
Or is this just an issue that happens from time to time?

Best regards
NAX

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

More
14 Dec 2020 16:37 #9275 by support
Hello.
This is a known issue that we cannot resolve, because the problem is in not in our code.

The recommended workaround is to pre-create the application instance certificate manually, store it into the right place, and assure that your app will find it. opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...%20Instance%20Certificate.html

Best regards

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

More
14 Dec 2020 10:47 #9271 by NAX
Hi,

We have a OPC service, which is using your EasyOPC library for .NET Framework 4.5.2 (OPCLabs 5.53.405.1).

The software is being installed on multiple machines, however some times, it doesn't create the certificate.

I've tried many different approaches find the issues, different ways to try and connect but nothing helped. Neither getting the certificate created or getting a different error message.
The only ways I've made it work have been to start as administrator, close if fails and try again. Then sometimes it succeeds after quite a few tries.

The machines we are installing it on, are sometimes a machine with an older Windows installed, which has been upgraded to Win 10.

Have you experienced anything like this, that might point me towards what the issue could be, cause I've been struggling with locating the issue for a period of time without luck?

Every attempt has been as administrator.

Best regards
NAX

Error message:
Unhandled Exception: OpcLabs.EasyOpc.UA.OperationModel.UAException: An OPC-UA operation failure with error code -2147483648 (0x80000000) occurred, originating from 'System'. The inner OPC-UA service exception with service result 'Bad' contains details about the problem. ---> OpcLabs.EasyOpc.UA.UAServiceException: OPC-UA service result - Could not create a certificate via a proxy: The operation completed successfully = Bad.
---- SERVICE RESULT ----
StatusCode: {Bad} = 0x80000000 (2147483648)

+ The error occurred while checking the (client) application instance certificate. Check event log entries for errors and warnings. The certificate generator path was "C:\...\Opc.Ua.CertificateGenerator.exe".
+ This is an engine-level error. ---> System.ComponentModel.Win32Exception: The operation completed successfully
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at Opc.Ua.CertificateFactory.CreateCertificateViaProxy(String executablePath, String storePath, String password, String applicationUri, String applicationName, String subjectName, IList`1 domainNames, UInt16 keySize, DateTime startTime, UInt16 lifetimeInMonths, UInt16 hashSizeInBits, Boolean isCA, Boolean usePEMFormat, String issuerKeyFilePath, String issuerKeyFilePassword)
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
at OpcLabs.EasyOpc.UA.EasyUAClient.CheckSuccess(OperationResult operationResult)
at OpcLabs.EasyOpc.UA.IEasyUAClientExtension.Read(IEasyUAClient client, UAReadArguments readArguments)
at OpcLabs.EasyOpc.UA.IEasyUAClientExtension.Read(IEasyUAClient client, UAEndpointDescriptor endpointDescriptor, UANodeDescriptor nodeDescriptor)
at ... .NodeHasValue() in C:\...\OPCNode.cs:line 208
at ... .Main() in C:\...\Program.cs:line 26

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

Moderators: support
Time to create page: 0.051 seconds