There is no SSL binding assigned to the port used by HTTPS URL: https://mylocalhost:48031/
I am new to https communications with OPC UA and most of the tutorials ignores this experimental feature, can someone help me to understand how to programmaticaly create and assign a SSL certificate to the endpoints of my server application?
The UaDemoServer sample has this event called Application_MissingHttpsCerificate() with no implementation.
Code: Select all
private static void Application_MissingHttpsCertificate(object sender, CreateHttpsCertificateEventArgs e)
{
try
{
// TBD
}
catch (Exception exception)
{
ExceptionDlg.Show("Missing Application Certificate", exception);
}
}
Code: Select all
Enabling this profile requires that you have a HTTPS certificate issued by a certificate authority
in your root certificate store. You can creaste your own authority and add it to the root store or
you can use authorities like VeriSign or Thawte. To do so, start the server with /install as Administrator.
-->
<BaseAddress>https://localhost:48031</BaseAddress>
I am using the UnifiedAutomation .NET SDK version 2.0.0.0.