Monday, 10 February 2025
  4 Replies
  65 Visits
  Subscribe
Hi Sergio,
I'm trying a long time now to enable ssl on my wssServer (Windows x64, .NET-Framework 4.8):
wssServer.SSLOptions.Version = TwsTLSVersions.tls1_3;
wssServer.SSLOptions.CertFile = "cert.pem";
wssServer.SSLOptions.KeyFile = "private_key.pem";
wssServer.SSLOptions.RootCertFile = "cert.pem";
wssServer.SSLOptions.Password = "xxx";
wssServer.SSLOptions.Port = 58889;
wssServer.SSL = true;

But I always get the following exception
10.02.25 19:45:49.748 (Exception) Could not load SSL library.
***PATH***
***VERSION***
***API*** 1.1.1
***METHODS*** "Failed to load libcrypto-1_1-x64.dll."

I only found libcrypto-3-x64.dll and libssl-3-x64.dll on the internet.
But the error-message is always the same libcrypto-1_1-x64.dll is missing, independent of the SSLOptions.Version selected.
In your supplied download, there are only 32-bit versions of the ssl-libraries for windows. So they cannot be used.
Do you have an idea how to manage?

Many thanks,
best regards
Jan