Hi Stunnel users,
Any ideas why I get a "server down" message"? Below is the conf file:
;--------------------------------------------------------------------------- ; **************************************************************************
; * Global options *
; ************************************************************************** ;
; Debugging stuff (may useful for troubleshooting)
debug = 7
output = stunnel.log
;Disable FIPS mode to allow non-approved protocols and algorithms
fips = no
;**************************************************************************
; * Service defaults may also be specified in individual service sections *
; **************************************************************************
; Disable support for insecure SSLv2 protocol
options = NO_SSLv2
key = stunnel.pem
cert = stunnel.pem
client = yes
accept = 5001
connect = XXXXXXXXXXX.com:6443
TIMEOUTclose = 0
TIMEOUTconnect = 200
TIMEOUTidle = 86400 ;---------------------------------------------------------------------------
HERE IS THE LOG WINDOW MESSAGE: [!] Server is down [ ] Running on Windows 6.1 [.] Reading configuration from file stunnel.conf [.] UTF-8 byte order mark detected [.] FIPS mode disabled [ ] Compression disabled [ ] Snagged 64 random bytes from C:/.rnd [ ] Wrote 1024 new random bytes to C:/.rnd [ ] PRNG seeded successfully [ ] Initializing inetd mode configuration [!] Service [(null)]: 'accept' option is only allowed in a [section]
Mark Garciano Systems Programmer II USC Libraries Integrated Library Systems 213-740-3568
On Mon, 2017-05-01 22:45:45 +0000, Mark Garciano wrote:
Hi Stunnel users,
Any ideas why I get a "server down" message"? Below is the conf file:
[..]
[!] Service [(null)]: 'accept' option is only allowed in a [section]
Mark,
It's what the message says: The 'accept' option needs a service to be associated with. Therefore, you have to place it into a section for this service. (As you can easily imagine, a default 'accept' option wouldn't make any sense.)
HTH,
Ludolf