![]() The stunnel.pem file contains your key (private data) and certificate (public data). On my stunnel server or on stunnel client using client-side certificates. I get the error stunnel: Wrong permissions on /path/to/stunnel.pem I get the error "Wrong permissions on stunnel.pem" ![]() Without that line, stunnel assumes you want to operate in inetd-style mode. You are probably missing the definition in your config. When I run stunnel, it just sits there, it does not listen for requests! You can find a spare Unix workstation that does have OpenSSL installed, for example. If you do not have the openssl program (for example you are using the pre-compiled version of stunnel on a Windows machine) then you need to generate an stunnel.pem file in some other manner. I do not have the openssl binary / Cannot make stunnel.pem! if running the daemon, run it in the foreground foreground = yesĭoing this gives you the best chance of catching the errors in the log on the screen.What to do when stunnel failsįirstly, the most important things to try when you are having trouble running stunnel is to: This is the generic way to have configure find specific libraries, and is not specific to stunnel itself. To help gcc find your include files and libraries, you should set three environment variables as follows: CFLAGS="$CFLAGS -I/opt/tcpd_7.6/include"ĬPPFLAGS="$CPPFLAGS -I/opt/tcpd_7.6/include"Īnd then re-run configure. Lets say you had your tcp wrappers installed in /opt/tcpd_7.6. somewhere that gcc cannot find it on its own. You probably have it in a non-standard place, i.e. Configure is not finding my TCP Wrapper installation Use the -with-ssl directive when running configure to tell it where this directory is. OpenSSL can be found at The other possibility is that you installed your SSL library in a non-standard place. In that case you should download and compile one of them. The first posibility is that you have not installed an SSL library, either OpenSSL or SSLeay. Troubleshooting "Could not find your SSL library installation dir" when running configure
0 Comments
Leave a Reply. |