Import Certificate Error (wodWebServer / wodWebServer.NET)
Hi Danny.
I just tried, for a test, with a certificate from selfsigned.org, works like a charm. I had following code and it works correctly with our SSL sample:
System.Security.Cryptography.X509Certificates.X509Certificate2 cert = new System.Security.Cryptography.X509Certificates.X509Certificate2();
cert.Import(AppPath() + "\\localhost.com.pfx", "password", System.Security.Cryptography.X509Certificates.X509KeyStorageFlags.Exportable);
web1.Certificate = cert;
web1.Secure = true;
web1.SecureMethod = System.Security.Authentication.SslProtocols.Tls13;
web1.Start();
Complete thread:
- Import Certificate Error - Danny, 2022-12-20, 17:17
- Import Certificate Error - Jasmine, 2022-12-21, 21:23
- Import Certificate Error - Danny, 2022-12-22, 08:05
- Import Certificate Error - Jasmine, 2022-12-21, 21:23