rejetto forum
May 25, 2012, 11:34:35 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: HTTPS support (stunnel?)  (Read 1466 times)
0 Members and 2 Guests are viewing this topic.
uvbeenzaned
Experienced poster
***
Offline Offline

Posts: 38



View Profile Email
« on: January 22, 2010, 08:21:57 AM »

Hi,

I need ssl support and need to know how to set up stunnel!
I have installed and I need to know what the config is supposed to be set to in stunnel.conf.
Never used https in hfs.
The only time I use it is when I am using apache and mysql, php and all of the huge websever stuff.
Logged

Antec 900 Gaming Case, Nvidia XFX 780i 3 Way SLI Motherboard, 6 GB RAM, EVGA-Nvidia GeForce 9800 GTX + and Nvidia GeForce 8600 GT using 2 Way SLI, Pentium Dual Core Processor, Core Speed=2.6 MHz, 3 Monitors, 1150 GBs of hd storage, Win7=YEAH!
uvbeenzaned
Experienced poster
***
Offline Offline

Posts: 38



View Profile Email
« Reply #1 on: January 22, 2010, 08:44:34 AM »

Well thanks then.

I looked at some other posts and tried it the way they did it but it didn't work!

This is what I had by the way:
;[https]
;accept  = 443
;connect = 80
;TIMEOUTclose

It's not working every time I connect to my server.

Sorry if I am being annoying about this. Embarrassed
Logged

Antec 900 Gaming Case, Nvidia XFX 780i 3 Way SLI Motherboard, 6 GB RAM, EVGA-Nvidia GeForce 9800 GTX + and Nvidia GeForce 8600 GT using 2 Way SLI, Pentium Dual Core Processor, Core Speed=2.6 MHz, 3 Monitors, 1150 GBs of hd storage, Win7=YEAH!
Mars
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1481



View Profile WWW
« Reply #2 on: January 22, 2010, 09:01:57 AM »

; Sample stunnel configuration file by Michal Trojnara 2002-2006
; Some options used here may not be adequate for your particular configuration

; Certificate/key is needed in server mode and optional in client mode
; The default certificate is provided only for testing and should not
; be used in a production environment
cert = cert.pem
key  = key.pem

; Some performance tunings
socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1

; Workaround for Eudora bug
;options = DONT_INSERT_EMPTY_FRAGMENTS

; Authentication stuff
;verify = 2
; Don't forget to c_rehash CApath
;CApath = certs
; It's often easier to use CAfile
;CAfile = certs.pem
; Don't forget to c_rehash CRLpath
;CRLpath = crls
; Alternatively you can use CRLfile
;CRLfile = crls.pem

; Some debugging stuff useful for troubleshooting
debug = 7

;output = stunnel.log

; Use it for client mode
;client = yes

; Service-level configuration

;[pop3s]
;accept  = 995
;connect = 110

;[imaps]
;accept  = 993
;connect = 143

;[ssmtp]
;accept  = 465
;connect = 25

[https]
accept  = 0.0.0.0:443
connect = 127.0.0.1:80
local = 127.0.0.1
TIMEOUTclose = 0
« Last Edit: January 22, 2010, 09:05:56 AM by Mars » Logged
uvbeenzaned
Experienced poster
***
Offline Offline

Posts: 38



View Profile Email
« Reply #3 on: January 22, 2010, 09:14:58 AM »

Get this every time!

 Angry I hate port and http stuff sometimes.


* error.PNG (12.92 KB, 638x301 - viewed 121 times.)
Logged

Antec 900 Gaming Case, Nvidia XFX 780i 3 Way SLI Motherboard, 6 GB RAM, EVGA-Nvidia GeForce 9800 GTX + and Nvidia GeForce 8600 GT using 2 Way SLI, Pentium Dual Core Processor, Core Speed=2.6 MHz, 3 Monitors, 1150 GBs of hd storage, Win7=YEAH!
Mars
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1481



View Profile WWW
« Reply #4 on: January 22, 2010, 11:22:54 AM »

use an other port for hfs 7000 by example

and in ssl.conf

[https]
accept  = 0.0.0.0:443
connect = 127.0.0.1:7000
local = 127.0.0.1
TIMEOUTclose = 0

Logged
FRENCH CAN CAN
Insane poster
*****
Offline Offline

Italy Italy

Posts: 641


View Profile
« Reply #5 on: January 22, 2010, 11:43:43 AM »

Well thanks then.

I looked at some other posts and tried it the way they did it but it didn't work!

This is what I had by the way:
;[https]
;accept  = 443
;connect = 80
;TIMEOUTclose

It's not working every time I connect to my server.

Sorry if I am being annoying about this. Embarrassed

Eliminate  ;

Correct:

[https]
accept  = 443
connect = 80
TIMEOUTclose = 0



cert = cert.pem
key  = key.pem
Logged
rejetto forum
« Reply #5 on: January 22, 2010, 11:43:43 AM »

Do you like this software? Consider even $2
 Logged
uvbeenzaned
Experienced poster
***
Offline Offline

Posts: 38



View Profile Email
« Reply #6 on: January 27, 2010, 02:22:31 PM »

Thanks!  I will get back around to this later! Wink
Logged

Antec 900 Gaming Case, Nvidia XFX 780i 3 Way SLI Motherboard, 6 GB RAM, EVGA-Nvidia GeForce 9800 GTX + and Nvidia GeForce 8600 GT using 2 Way SLI, Pentium Dual Core Processor, Core Speed=2.6 MHz, 3 Monitors, 1150 GBs of hd storage, Win7=YEAH!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 24, 2012, 10:03:25 AM
anything