Hi,

I follow the wiki instructions on
How To Change HTTP Server Demo Into HTTPS Server Demo
(http://synapse.ararat.cz/wiki/index.php?page=HttpsServer)
and I was able to access https://localhost with IE6.

Then I copied your testing certificates I found on
"OpenSSL testing certificates" to g:\ and
added the following 3 lines before SSLAcceptConnection in
procedure TTCPHttpThrd.Execute;

  sock.SSL.TrustCertificateFile := 'g:\cacert.pem';
  sock.SSL.PrivateKeyFile := 'g:\cakey.pem';
  sock.SSL.CertCAFile := 'g:\ca-bundle.crt';
  sock.SSLAcceptConnection;
  if sock.Lasterror <> 0 then Exit;

Now I get sock.LastError equals to
Error 10091 - Network subsystem is unusable
just like described in
http://synapse.ararat.cz/wiki/index.php?page=SslPlugin

I already checked that :
a) the program works if I comment out the 3 lines added
b) I have ssl_openssl unit in my project uses
c) libeay32.dll and ssleay32.dll exists in the same folder of exe.
Both extracted from
http://synapse.ararat.cz/files/crypt/Openssl-0.9.8a-Win32.zip

What am I doing wrong?

thanks in advance

Anderson


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to