EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Problem with SSL Server demo

Posted: 06/29/2008 12:10:48
by Kevin Donn (Standard support level)
Joined: 08/16/2007
Posts: 20

I've run into difficulty with SBB's sample SSL\Server\Delphi\Indy\IOHandler10. I compiled and ran this several days ago and didn't have any problems at all. I think I connected to the server with both the SSL\Client\Delphi\Indy\IOHandler10 sample and with either Firefox or IE (don't remember). Now I can't connect with anything. Before I ever opened the server sample, I zipped the folder so I'd have it to roll back to.

Now whenever I run it and try to connect with the client sample, I get "Socket Error #10053 Software caused connection abort." With Firefox I get, "Firefox can't connect securely to localhost because the site uses a security protocol which isn't enabled."

What have I screwed up? Any ideas?

Kevin Donn
Posted: 06/29/2008 12:27:38
by Eugene Mayevski (Team)

Most likely you have not loaded the certificate into the server properly. You need to load the certificate with it's private key (if you load the certificate from PFX, the key is there). However, 10053 error means that it was the server which closed connection so the certificate might be not the reason of the problem.

You can try to handle the OnSSLError event on the server side and see what error is reported (if any).

Also, did you try to run the server from IDE?

Sincerely yours
Eugene Mayevski
Posted: 06/29/2008 15:23:19
by Kevin Donn (Standard support level)
Joined: 08/16/2007
Posts: 20

Sorry, Eugene. I was the problem. Every time I load MainForm in the server demo it says, "Error reading CertStorage.BinaryCertificates...". I was then always managing to save the form in the IDE and clobber the Eldos certificate in the dfm. I'm back on track now. Thanks for the sanity check!




Topic viewed 1351 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!