EldoS | Feel safer!

Software components for data protection, secure storage and transfer

File Upload using HTTPS

Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.
#11651
Posted: 11/11/2009 14:14:51
by Jacques Bellino (Basic support level)
Joined: 11/11/2009
Posts: 1

Hi,
I'm looking for a sample to upload files using HTTPS with .
Thanks for your reply.
#11652
Posted: 11/11/2009 15:29:18
by Ken Ivanov (EldoS Corp.)

Thank you for your interest in our products.

Depending on the edition you are evaluation (.NET, VCL, ActiveX), the corresponding sample is available at the %SBB%\Samples\(C#|VB.NET|Delphi)\SSLBlackbox\HTTP\(HTTPPost|FileUpload)\ directory.
#20841
Posted: 07/19/2012 10:28:12
by Birger Jansen (Standard support level)
Joined: 07/19/2012
Posts: 73

Hi,
I am currently evaluating SecureBlackbox and I cannot find the example mentioned in the post above.

Is it no longer included with a trial installation?
#20842
Posted: 07/19/2012 10:33:48
by Vsevolod Ievgiienko (EldoS Corp.)

Hello.

Its located in \EldoS\SecureBlackbox.VCL\Samples\Delphi\HTTPBlackbox\Client\FileUpload folder for VCL and \EldoS\SecureBlackbox.NET\Samples\<language>\HTTPBlackbox\Client\HTTPPost for .NET.
#20850
Posted: 07/23/2012 02:51:53
by Birger Jansen (Standard support level)
Joined: 07/19/2012
Posts: 73

Thank you, I found it. Now I see that this is for the client. Is there also an example for the server part?
#20851
Posted: 07/23/2012 02:55:07
by Vsevolod Ievgiienko (EldoS Corp.)

We have a simple HTTP server demo that is located in \EldoS\SecureBlackbox.VCL\Samples\Delphi\HTTPBlackbox\Server\HTTPSServer
#20903
Posted: 07/27/2012 07:03:02
by Birger Jansen (Standard support level)
Joined: 07/19/2012
Posts: 73

I found the demo but I can't get it to work. I compile and run without problems. When I start the server I use the certificate that is provided with SBB in \SecureBlackbox.VCL\Extra\Certificates\cert.cer

I can start the server without problems. When I connect to the server by going to https://127.0.0.1:8080 with Chrome the server gives an error:

SSL error: 75789, fatal: true, remote: false

Should I use another certificate to test with? Is there a readme for the demo somewhere?
#20904
Posted: 07/27/2012 07:07:03
by Vsevolod Ievgiienko (EldoS Corp.)

You should better use cert.pfx because cert.cer doesn't contain a private key needed for SSL/TLS negotiation.
#20905
Posted: 07/27/2012 07:10:00
by Birger Jansen (Standard support level)
Joined: 07/19/2012
Posts: 73

I thought I tried all the different certificates but somehow it seems I didn't... With cert.pfx it works. Thanks again for your quick answer!
#20906
Posted: 07/27/2012 07:34:09
by Birger Jansen (Standard support level)
Joined: 07/19/2012
Posts: 73

Sorry, I am still confused. After my succesful first try with cert.pfx (I could start the server and open a page in my browser) I cannot get cert.pfx to work again. It seems as if there is some random 'make it fail' system...

I start the program, enable ssl, select the cert.pfx file and enter the password.
As soon as I hit OK I get these exceptions:

    Invalid certificate data
    Invalid file format (possibly not a PEM?) (error code is 7425)
    Invalid symmetric cipher padding
    Invalid symmetric cipher padding

Am I overlooking something?
Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.

Reply

Statistics

Topic viewed 3315 times

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




|

Back to top

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

Got it!