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 ...

Moderator: uasdknet

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

Does UA Server SDK support certificate renewal?

Post by simon.s »

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?

Post by simon.s »

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.

Post Reply