Hi Mike,
A quick question, I am trying to create a SSL connection using stunnel and the following configuration;
debug = 7 output = stunnel.log ;cert = FCAXV_HamfbaaStkhlm1.pem key = FCAXV_HamfbaaStkhlm1_key.pem [SSLHOST] ;Use it for client mode client = yes accept = 127.0.0.1:2525 connect = <server-ip>:10170
And I am getting following log after starting the Stunnel. Does following "Configuration successful" message in the log means that I have established a SSl connection? I am wondering about this because I have not provided any password for the certificate-private key, infact I do not know to do that as well. Can you please explain;
2011.12.12 16:10:01 LOG7[5984:8456]: No limit detected for the number of clients 2011.12.12 16:10:01 LOG7[5984:8456]: make_sockets: s_socket#1: FD=648 allocated (blocking mode) 2011.12.12 16:10:01 LOG7[5984:8456]: make_sockets: s_socket#2: FD=604 allocated (blocking mode) 2011.12.12 16:10:01 LOG7[5984:8456]: make_sockets: s_accept: FD=472 allocated (non-blocking mode) 2011.12.12 16:10:01 LOG5[5984:8456]: stunnel 4.47 on x86-pc-mingw32-gnu platform 2011.12.12 16:10:01 LOG5[5984:8456]: Compiled/running with OpenSSL 1.0.0e 6 Sep 2011 2011.12.12 16:10:01 LOG5[5984:8456]: Threading:WIN32 SSL:ENGINE Auth:none Sockets:SELECT,IPv6 2011.12.12 16:10:01 LOG5[5984:8456]: Reading configuration from file stunnel.conf 2011.12.12 16:10:01 LOG7[5984:8456]: Snagged 64 random bytes from C:/.rnd 2011.12.12 16:10:02 LOG7[5984:8456]: Wrote 1024 new random bytes to C:/.rnd 2011.12.12 16:10:02 LOG7[5984:8456]: PRNG seeded successfully 2011.12.12 16:10:02 LOG6[5984:8456]: Initializing SSL context for service SSLHOST 2011.12.12 16:10:02 LOG7[5984:8456]: SSL options set: 0x01180004 2011.12.12 16:10:02 LOG6[5984:8456]: SSL context initialized 2011.12.12 16:10:02 LOG5[5984:8456]: Configuration successful 2011.12.12 16:10:02 LOG7[5984:8456]: accept socket: FD=648 allocated (non-blocking mode) 2011.12.12 16:10:02 LOG7[5984:8456]: Option SO_REUSEADDR set on accept socket 2011.12.12 16:10:02 LOG7[5984:8456]: Service SSLHOST bound to 127.0.0.1:2525 2011.12.12 16:10:02 LOG7[5984:8456]: Service SSLHOST opened FD=648
Thank you.
Regards, Hamid Shahid.