Hello!
I'm trying to provide https support using stunnel-5.40 build with openssl-1.0.2k to httpd BusyBox server on embedded Petalinux system.
Cross compilation was success.
Then, i configured stunnel with:
setgid = www-datapid = /stunnel.pidcert = /etc/stunnel/cert/serverCert.crtkey = /etc/stunnel/cert/serverKey.pemdebug = 7output = /stunnel.logoptions = ALLoptions = NO_SSLv2socket = l:TCP_NODELAY=1socket = r:TCP_NODELAY=1verify = 2CApath = /certsCAfile = /etc/stunnel/cert/CA.crt[https]accept = 443connect = 127.0.0.1:80TIMEOUTclose = 0
Then run stunnel and tried connecting to server :443 secured port. Browser was loading web page about 1-2 minutes but couldn't do that. Log is following:
1970.01.01 03:40:04 LOG7[main]: Service [https] accepted (FD=9) from 192.168.0.5:506701970.01.01 03:40:04 LOG7[1]: Service [https] started1970.01.01 03:40:04 LOG7[1]: Option TCP_NODELAY set on local socket1970.01.01 03:40:04 LOG5[1]: Service [https] accepted connection from 192.168.0.5:506701970.01.01 03:40:04 LOG6[1]: Peer certificate required1970.01.01 03:40:04 LOG7[1]: TLS state (accept): before/accept initialization1970.01.01 03:40:04 LOG7[1]: SNI: no virtual services defined1970.01.01 03:40:04 LOG7[1]: TLS state (accept): SSLv3 read client hello A1970.01.01 03:40:04 LOG7[1]: TLS state (accept): SSLv3 write server hello A1970.01.01 03:40:04 LOG7[1]: TLS state (accept): SSLv3 write certificate A1970.01.01 03:43:52 LOG7[main]: Found 1 ready file descriptor(s)1970.01.01 03:43:52 LOG7[main]: FD=4 events=0x2001 revents=0x01970.01.01 03:43:52 LOG7[main]: FD=7 events=0x2001 revents=0x11970.01.01 03:43:52 LOG7[main]: Service [https] accepted (FD=10) from 192.168.0.5:507941970.01.01 03:43:52 LOG7[main]: Found 1 ready file descriptor(s)1970.01.01 03:43:52 LOG7[2]: Service [https] started1970.01.01 03:43:52 LOG7[main]: FD=4 events=0x2001 revents=0x01970.01.01 03:43:52 LOG7[2]: Option TCP_NODELAY set on local socket1970.01.01 03:43:52 LOG7[main]: FD=7 events=0x2001 revents=0x11970.01.01 03:43:52 LOG5[2]: Service [https] accepted connection from 192.168.0.5:507941970.01.01 03:43:52 LOG7[main]: Service [https] accepted (FD=11) from 192.168.0.5:507961970.01.01 03:43:52 LOG6[2]: Peer certificate required1970.01.01 03:43:52 LOG7[3]: Service [https] started1970.01.01 03:43:52 LOG7[2]: TLS state (accept): before/accept initialization1970.01.01 03:43:52 LOG7[3]: Option TCP_NODELAY set on local socket1970.01.01 03:43:52 LOG5[3]: Service [https] accepted connection from 192.168.0.5:507961970.01.01 03:43:52 LOG7[2]: SNI: no virtual services defined1970.01.01 03:43:52 LOG6[3]: Peer certificate required1970.01.01 03:43:52 LOG7[2]: TLS state (accept): SSLv3 read client hello A1970.01.01 03:43:52 LOG7[2]: TLS state (accept): SSLv3 write server hello A1970.01.01 03:43:52 LOG7[3]: TLS state (accept): before/accept initialization1970.01.01 03:43:53 LOG7[2]: TLS state (accept): SSLv3 write certificate A1970.01.01 03:43:53 LOG7[3]: SNI: no virtual services defined1970.01.01 03:43:53 LOG7[3]: TLS state (accept): SSLv3 read client hello A1970.01.01 03:43:53 LOG7[3]: TLS state (accept): SSLv3 write server hello A1970.01.01 03:43:53 LOG7[3]: TLS state (accept): SSLv3 write certificate A
Please help me to understand what i did wrong?
--
Best wishes,
Synkov.A
_______________________________________________ stunnel-users mailing list [email protected] https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users
