Re: Loading Multiple Certificates (General questions)

by Jeremy, (3848 days ago) @ Jasmine

Yes. It will work if the certificates are registered with Windows.

But sometimes, we want to deploy the certificates file with software and do not want to register the certificates, using cert.Import method is the best solution.

Dim cert As System.Security.Cryptography.X509Certificates.X509Certificate2

wodWebD1 = new WeOnlyDo.Server.WebServer

cert.Import("certificate.pfx", "certificate_password", Security.Cryptography.X509Certificates.X509KeyStorageFlags.Exportable)

wodWebD1.Certificate = cert

locked

Complete thread: