HttpApi server and certificates

Hi, we have a DigiCert certificate that we have been using in our RealThinClient server where we read/load a password protected PFX file.

I see this commented code. Can any of these be used to load this password protected PFX file?

//server.NetworkServer.CertificateFileName = “</path/to/certificate>”;
//server.NetworkServer.CertificateThumbprint = “XX XX XX …”;
//server.NetworkServer.Certificate =

Thanks,
Thom

Sorry, did not think it would be this easy:

server.NetworkServer.UseTLS = true;
server.NetworkServer.Certificate = new System.Security.Cryptography.X509Certificates.X509Certificate2(@“myCertifcate.pfx”, “myPassword”, X509KeyStorageFlags.UserKeySet);

// Thom

Glad you have found the solution.
The entire ApplicationServer infrastructure has been designed to be as easy to use as possible.