Hello all!

 

I’m in charge of activating stunnel to connect a service to a remote service.

Since I’m totally new on this product, I’d be grateful if someone could help me in configuring.

This is where I stand:

Stunnel version:

stunnel 4.29 on x86_64-unknown-linux-gnu with OpenSSL 1.0.0-fips 29 Mar 2010

 

OS:

Linux 2.6.32-220.23.1.el6.x86_64 #1 SMP Mon Jun 18 18:58:52 BST 2012 x86_64 x86_64 x86_64 GNU/Linux

 

 

I’d need to have it started by non-root user, and I have loaded under a specific path (owned by the same user):

 

Stunnel.conf:

; Sample stunnel configuration file

;cert = FXMS1.pem

client = yes

output = /export/home/bg_mtsbv/slev5fix/log

pid = /export/home/bg_mtsbv/slev5fix/conf/stunnel.pid

 

[ssl01]

accept  = 127.0.0.1:18889

connect = 193.203.229.143:443

 

 

Stunnel.pid (empty)

 

xxx.pem (certificate has been provided by the owner of the target server)

 

my first two questions:

 

which is the correct command line to be launched?

Is it correct to have all the files under the user’s directory?

 

 

Many thanks in advance for your help!

 

Regards,

 

Valerio