vovadash.blogg.se

Stunnel ubuntu
Stunnel ubuntu







stunnel ubuntu

May 3 09:29:56 kerzanoserv stunnel: LOG7: TLS state (connect): before SSL initialization May 3 09:29:56 kerzanoserv stunnel: LOG6: Peer certificate required May 3 09:29:56 kerzanoserv stunnel: LOG6: SNI: sending servername: May 3 09:29:56 kerzanoserv stunnel: LOG7: Remote descriptor (FD=8) initialized May 3 09:29:56 kerzanoserv stunnel: LOG7: Option TCP_NODELAY set on remote socket May 3 09:29:56 kerzanoserv stunnel: LOG5: Service connected remote server from 192.168.1.26:36406 May 3 09:29:56 kerzanoserv stunnel: LOG5: s_connect: connected. May 3 09:29:56 kerzanoserv stunnel: LOG7: s_connect: s_poll_wait. May 3 09:29:56 kerzanoserv stunnel: LOG6: s_connect: connecting.

stunnel ubuntu

May 3 09:29:56 kerzanoserv stunnel: LOG5: Service accepted connection from 127.0.0.1:41880 May 3 09:29:56 kerzanoserv stunnel: LOG7: Option TCP_NODELAY set on local socket May 3 09:29:56 kerzanoserv stunnel: LOG7: Service started May 3 09:29:56 kerzanoserv stunnel: LOG7: Found 1 ready file descriptor(s) When I try to establish a websocket connection via python through this tunnel, in a way that works on windows, I get the following stunnel log:

stunnel ubuntu

May 3 08:53:54 kerzanoserv stunnel: LOG7: Cron thread initialized May 3 08:53:54 kerzanoserv stunnel: LOG7: Created pid file /var/run/stunnel4.pid May 3 08:53:54 kerzanoserv stunnel: LOG7: Option SO_REUSEADDR set on accept socket May 3 08:53:54 kerzanoserv stunnel: LOG7: Listening file descriptor created (FD=7) May 3 08:53:54 kerzanoserv stunnel: LOG7: Binding service May 3 08:53:54 kerzanoserv stunnel: LOG5: Configuration successful May 3 08:53:54 kerzanoserv stunnel: LOG7: Private key check succeeded May 3 08:53:54 kerzanoserv stunnel: LOG6: Private key loaded from file: /etc/stunnel/stunnel.pem May 3 08:53:54 kerzanoserv stunnel: LOG6: Loading private key from file: /etc/stunnel/stunnel.pem May 3 08:53:54 kerzanoserv stunnel: LOG6: Certificate loaded from file: /etc/stunnel/stunnel.pem May 3 08:53:54 kerzanoserv stunnel: LOG6: Loading certificate from file: /etc/stunnel/stunnel.pem May 3 08:53:54 kerzanoserv stunnel: LOG7: Ciphers: HIGH:!DH:!aNULL:!SSLv2 May 3 08:53:54 kerzanoserv stunnel: LOG6: Initializing service May 3 08:53:54 kerzanoserv stunnel: LOG7: PRNG seeded successfully May 3 08:53:54 kerzanoserv stunnel: LOG7: Wrote 1024 new random bytes to /home/eoin/.rnd May 3 08:53:54 kerzanoserv stunnel: LOG7: Snagged 64 random bytes from /home/eoin/.rnd May 3 08:53:54 kerzanoserv stunnel: LOG7: Compression disabled May 3 08:53:54 kerzanoserv stunnel: LOG5: FIPS mode disabled May 3 08:53:54 kerzanoserv stunnel: LOG5: UTF-8 byte order mark not detected May 3 08:53:54 kerzanoserv stunnel: LOG5: Reading configuration from file /etc/stunnel/nf May 3 08:53:54 kerzanoserv stunnel: LOG7: errno: (*_errno_location ()) May 3 08:53:54 kerzanoserv stunnel: LOG5: Threading:PTHREAD Sockets:POLL,IPv6,SYSTEMD TLS:ENGINE,FIPS,OCSP,PSK,SNI Auth:LIBWRAP May 3 08:53:54 kerzanoserv stunnel: LOG5: Compiled/running with OpenSSL 1.1.0g May 3 08:53:54 kerzanoserv stunnel: LOG5: stunnel 5.44 on x86_64-pc-linux-gnu platform May 3 08:53:54 kerzanoserv stunnel: LOG7: Clients allowed=500 It seems like the client is rejecting the authorisation due to using a self-signed certificate.

stunnel ubuntu

#Stunnel ubuntu windows

I'm using a config from a setup that is working on Windows and MacOS. I'm trying to connect to an application over stunnel 5.44 on ubuntu 18.04.









Stunnel ubuntu