Try adding verifyPeer=noStunnel does not trust the certificate presented by the server. Review the man page regarding certificate verification.SaludosJose Alfredo DiazGreetings,I am trying to capture clear text pcaps from client (browser) - server (java appserver) traffic.The java appserver is jboss using https. I'm running jboss and stunnel on the same machine.# stunnel.confdebug = 3foreground = yes[jboss]client = yescert= stunnel.pem # generated using makecert.shaccept = 1234connect = 127.0.0.1:443Version:stunnel 5.44 on x86_64-pc-linux-gnu platformCompiled/running with OpenSSL 1.0.2k-fips 26 Jan 2017Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNIGlobal options:RNDbytes = 64RNDfile = /dev/urandomRNDoverwrite = yesService-level options:ciphers = FIPS (with "fips = yes")ciphers = HIGH:!DH:!aNULL:!SSLv2 (with "fips = no")curve = prime256v1debug = daemon.noticelogId = sequentialoptions = NO_SSLv2options = NO_SSLv3sessionCacheSize = 1000sessionCacheTimeout = 300 secondsstack = 65536 bytesTIMEOUTbusy = 300 secondsTIMEOUTclose = 60 secondsTIMEOUTconnect = 10 secondsTIMEOUTidle = 43200 secondsverify = noneWhen I try to test it usng firefox by browsing to https://localhost:1234, FF returns "Secure Connection Failed" and stunnel spits2017.12.01 20:35:10 LOG3[0]: SSL_connect: 14094416: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknownWhat am I missing / doing wrong?RegardsZ_______________________________________________
stunnel-users mailing list
stunnel-users@stunnel.org
https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel- users