Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have to use stunnel to connect to a remote mysql database. Setting up stunnel on Win 7 succeeded and I am also able to load the custom configuration file from the provider. (More can be found here documentation on mysql + stunnel)

Now, I use MySQL Query Browser, enter all information for the connection and get an 2003 error, which basically means access denied. The stunnel log shows the following error:

SSL_connect: 1408F10B: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
2011.08.23 22:58:16 
Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket

I assume my machine is not talking SSL3, but I don't know how to change that on Win 7.

share|improve this question
See this question: serverfault.com/questions/303090/… - does your issue match with the one described there? –  Shane Madden Aug 23 '11 at 22:09
I also saw this one, but I'm not sure. I did not install OpenSSL on my machine, because Stunnel used to work out of the box. –  Chris Aug 24 '11 at 8:41
I was just using the OpenSSL command line for troubleshooting the underlying library - try the stunnel config tweak that the poster over there has posted that solved it for him? –  Shane Madden Aug 24 '11 at 14:24
Shane, thank you very much. The crucial point was: I was working with the standard config-file and a custom one. I had to add those to lines to the custom one. –  Chris Aug 24 '11 at 18:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.