rejetto forum

I need help getting SSL to worh with HFS beta build 253 pls

ninjapimp · 25 · 17411

0 Members and 1 Guest are viewing this topic.

Offline ninjapimp

  • Occasional poster
  • *
    • Posts: 71
    • View Profile
i go to limis, bans
put in
\127.0.0.1;192.168.0.100

open browser and enter http://127.0.0.1:44300/  now it appears

but how to make SSL work
if i try the https   it wont display the page

thanks for the help btw
but i'm not sure how to get the SSL to work on the site still, something else must not be right

« Last Edit: February 12, 2010, 11:00:12 PM by ninjapimp »


Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
    • Posts: 1298
  • ....... chut ! shh!
    • View Profile

but how to make SSL work
if i try the https   it wont display the page



try :

locally :

https://192.168.0.100 or https://192.168.0.100:443

https://127.0.0.1 or https://127.0.0.1:443


From outside :

https://64.218.49.27 or https://64.218.49.27:443

or

https://yourdomain.com or https://yourdomain.com:443


Don't forget to run Stunnel  :D

If this still does not work ... we will remade your settings from the beginning. ;)

Or try that :

http://www.rejetto.com/forum/index.php/topic,7100.0.html

It's a very good solution. This installs Stunnel and HFS, creates a new SSL certificate ... etc ...
You will only have to update the version of HFS after this install.


« Last Edit: February 13, 2010, 02:20:55 AM by SilentPliz »


Offline ninjapimp

  • Occasional poster
  • *
    • Posts: 71
    • View Profile
try :
locally :
https://192.168.0.100 or https://192.168.0.100:443
https://127.0.0.1 or https://127.0.0.1:443

i try locally but says page problem loading page in forefox, it just won't load or find the site within my LAN.

I'll try starting over again. I'll delete the folder

question.
I make HFS folder and put hfs.exe in there
can I mkae a sub folder called stunnel and put stunnel in there? or does it all have to go in a single folder, ie. hfs.exe and stunnel.exe adn its files all in D:/hfs

i'd prefer to put everything in sub folders to better organize

right now i have stunnel in a subfolder of HFS, hfs.exe is in the parent folder.

could this be the problem>


Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
    • Posts: 1298
  • ....... chut ! shh!
    • View Profile

Offline ninjapimp

  • Occasional poster
  • *
    • Posts: 71
    • View Profile

http://www.rejetto.com/forum/index.php/topic,7100.0.html

It's a very good solution. This installs Stunnel and HFS, creates a new SSL certificate ... etc ...
You will only have to update the version of HFS after this install.

sadly the link does not have any working downloads
'whe n i click on link, post apepar but if ya try to download
  File Not Found!
none of the hosts have it available for download.

i've tried everything and started from scratch several times but i end up with exact same problem

does someone have this portable download they can share as the download links are no longer working


Offline AvvA

  • Tireless poster
  • ****
    • Posts: 135
    • View Profile
Sorry, I just re-up it ;)

I've asked about putting latest HFS version into my archive (because for now I'm not using HFS and do something else, not to much time to test and verify the new features :p), if that is ok, I'll tell it in the appropriate topics.

About your problem, try my thing and then tell us if the problem's still there. Try to do it without modifying a lot of thing in the default checked config. First try to get it functional, then adapt to your needs, imo.

Also, you can do it side to your current try, no need to erase what you've already done. It creates a folder with everything you need inside, with almost the folder structure you like. But of course you'll still be able to modify as you like after.


Offline AvvA

  • Tireless poster
  • ****
    • Posts: 135
    • View Profile

; Service-level configuration
; Stunnel listens to port 443 (HTTPS) to any IP
; and connects to port 44300 (HFS) on localhost
[https]
accept = 0.0.0.0:443
connect = 127.0.0.1:44300
TIMEOUTclose = 0

7. in HFS i change IP address to 127.0.0.1
8. In HFS i change port to 443
9. my router firewall is also forwarding port 443

Just to be clear, HFS communicate with Stunnel which communicate with internet (via router or direct connect), and vice-versa in this strict order.
So :
8. change port to 44300
9. ok

router follows port to Stunnel (443), and Stunnel follows another port to HFS (44300).


edit, they already told you this, but it is to point the fact STunnel act like a router.
« Last Edit: February 16, 2010, 05:45:39 PM by AvvA »


Offline ninjapimp

  • Occasional poster
  • *
    • Posts: 71
    • View Profile
great new i finally got it to work
i moved all the stunnel files into their own folder and stunnel no longer gave me server down error message

bandwidth testing however is very dissapointing, i imagine do to crypto

downloading a movie via SSL goes at max 600KB/s
via non SSL it goes at 7Mb/s  thru a local lan connection

so i'd be able to offer SSL to my friends now but at a much reduced bandwidth cost

is there any way to increase bandwidth speed? i doubt it but i thought I'd ask

thank you everyone for all the help


Offline AvvA

  • Tireless poster
  • ****
    • Posts: 135
    • View Profile
Nice that it works :)

The loss with SSL seems high to me, perhaps you've got a low power CPU ?


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
right, i'm not experienced with SSL, but i know it's supposed to slow down only a little (after the connection has been established, that's slow).