Hi,
I'm developing a Windows app that needs to connect to websites that can be on https
I need to make simple request (HTTP/GET) to the website. I use lazarus/freepascal and actually I'm trying Synapse+OpenSSL but some client machines are throwing error 10091 which seems to be related to winsock.

My questions are:
1. Do you offer SSL component for lazarus/freepascal?
2. If yes, is there a eval version for downloading? What is the limitation of eval version?
3. Is your component coded to work with winsock? Should I expect to get the same error described above?
4. In the near future, I want to port the app to Linux and Mac. Does your component work with those platforms too?

I new with freepascal so apologies for my ignorance specially on this topic. thanks,

Yes, SecureBlackbox includes SSL/TLS component and SecureBlackbox can be used in FreePasal. Lazarus packages are included only in SecureBlackbox 11, which is in pre-release state at the moment, but you can reference FPC units directly.

Quote

Gabrie Marcelo wrote:
2. If yes, is there a eval version for downloading? What is the limitation of eval version?

Evaluation version has speed delays and shows a nag screen from time to time.

Quote

Gabrie Marcelo wrote:
3. Is your component coded to work with winsock? Should I expect to get the same error described above?

I have yet to see a windows sockets application that works not via winsock. Considering that the error is about network failure, even something working not via winsock would not be able to deal with it.

In general, your code must be prepared for any networking errors. Relying on the components to provide you 100% guaranteed delivery is not what you can get in this reality. In other words, you must handle errors and provide graceful recovery mechanisms.

Quote

Gabrie Marcelo wrote:
4. In the near future, I want to port the app to Linux and Mac. Does your component work with those platforms too?

I've downloaded v10 but need some help from you. This is the code I used with synapse tool. It basically create a http get to a URL that can be HTTP or HTTPS. I need to set proxy info. I need to get the response from the server, the http status code, and be able to inform of any error to the user. The code I have is this (for synapse tool)

It also say for itself - you should assign handler to event .OnCertificateValidate, and inside of this handler return true if you believe that this certificate is correct i.e. belongs to the site you are connecting to.

thanks for the help. I finally got it working. I'd like to purchase the product but have a doubt.

My need is to use your product to get data from http and https (SSL/TLS) from a client app (NOT a server) so I was thinking about purchasing a lic for SSLBlackbox Client only. In the my code, I'll use these units SBHTTPSClient, SBUtils, SBX509

Does the SSLBlackbox cover my needs?

And after I receive my license, I set it in the code but my question is... are you product validate/activate the license online? Hope it does not but I want to be sure. thanks,

We use cookies to help provide you with the best possible online experience. By using this site, you agree that we may store and access cookies on your device. You can find out more about and set your own preferences here.