OPC Studio User's Guide and Reference
AssureOwnCertificate Method (IEasyUAClientServerApplicationExtension)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Application.Extensions Namespace > IEasyUAClientServerApplicationExtension Class : AssureOwnCertificate Method
Assures presence of the own certificate the application is currently configured to use.Returns true if a new certificate has been created. Returns false if an existing certificate was found and accepted as the current own certificate.

If the own certificate does not exist in the certificate store prior to the operation, the method creates it. Otherwise, the method also checks whether the instance certificate is present in the trusted peers certificate store, and if it is absent, it copies it there. This is in contrast to the CreateOwnCertificate method, which always creates a new certificate when successful.

.NET

Overload List
OverloadDescription
Assures presence of the own certificate the application is currently configured to use.  
Assures presence of the own certificate the application is currently configured to use.  
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also