Login  •  Register


Does UA Server SDK support certificate renewal?

Questions regarding the use of the .NET SDK 2.0 for Server or Client development or integration into customer products ...

Does UA Server SDK support certificate renewal?

Postby simon.s » 19 Jan 2020, 11:29

Hi,

When the application certificate of the OPC server is renewed by the organization every month, the renewed certificate has the same SubjectName, and I specify the SubjectName of the application certificate when setup the OPC UA server,
would you please clarify that does the UA Server SDK load the certificate every time when opening a security channel so that it detects the new certificate?
Is any parameter other than the SubjectName required to support the certificate renewal?

Code snippet from App.config of the UaDemoServer is in the following.
<!-- Identify the Application -->
<ApplicationName>UaServerNet@localhost</ApplicationName>
<ApplicationUri>urn:localhost:UnifiedAutomation:UaServerNet</ApplicationUri>
<ApplicationType>Server_0</ApplicationType>
<!-- Specify location of Certificates and Trust Lists -->
<ApplicationCertificate>
<StoreType>Windows</StoreType>
<StorePath>LocalMachine\My</StorePath>
<SubjectName>CN=[ComupterName]</SubjectName>
<ValidationOptions>0</ValidationOptions>
</ApplicationCertificate>

Thanks in advance.
simon.s
Jr. Member
Jr. Member
 
Posts: 4
Joined: 14 Nov 2019, 05:03

Re: Does UA Server SDK support certificate renewal?

Postby simon.s » 21 Jan 2020, 04:57

Hi,

Any update on this question?

Does the UA Server SDK support reloading the application certificate from the local certificate store dynamically when the certificate is renewed by the organization?

Thanks.
simon.s
Jr. Member
Jr. Member
 
Posts: 4
Joined: 14 Nov 2019, 05:03


Return to .NET based OPC UA SDK

Who is online

Users browsing this forum: No registered users and 0 guests