I compiled my complete project using SParkle and Indy with Delphi 10.4 and get an error
SSL Error EOF encountered violating the protocol
iI can break it down to the server side. Servers compiled with 10.3 run perfectly. I used the TMS source that I used in 10.3 without modification. This is how I initialize SSL:
SecureServer := TIndySparkleHTTPServer.create(nil);
SecureServer.DefaultPort := SecurePort;
// Initialize SSL with self signed certificate
SSLHandler := TIdServerIOHandlerSSLOpenSSL.create(SecureServer);
SSLHandler.SSLOptions.CertFile := SharedVals.ServerPath + 'appcert.pem';
SSLHandler.SSLOptions.RootCertFile := SharedVals.ServerPath + 'approot.pem';
SSLHandler.SSLOptions.KeyFile := SharedVals.ServerPath + 'appkey.pem';
SSLHandler.SSLOptions.Method := sslvSSLv23;
SecureServer.IOHandler := SSLHandler;
ANy help is very appreciated!