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.

Authentication with X509 certificate

More
28 Feb 2022 17:19 #10666 by support
The following user(s) said Thank You: federica

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

More
28 Feb 2022 15:35 - 28 Feb 2022 15:35 #10663 by federica
Hi,
I'm using QuickOPC COM, developing in C++.

I need to authenticate to an OPC-UA server using certificates.

In UaExpert I need to specify "Certificate" and "Private Key".


How can I specify this parameters using QuickOPC library?

I think I have found how to specify "Certificate" parameter.
_EasyUAAdaptableParametersPtr  IsolatedParameters = m_clientUAPtr->GetIsolatedParameters();
_UASmartSessionParametersPtr SessionParms = IsolatedParameters->GetSessionParameters();
SessionParms->UserIdentity->X509CertificateTokenInfo->FileName = certificateParam;
Is it correct?

Thanks
Attachments:
Last edit: 28 Feb 2022 15:35 by federica.

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

Moderators: support
Time to create page: 0.048 seconds