Re: Stunnel running as service on Windows Server 2008 R2 but Stunnel All Users shortcut on the desktop reports that it server is down?
Peter Pentchev <[email protected]>
| Newsgroups | gmane.network.stunnel.user |
|---|---|
| Message-ID | <[email protected]> |
On Wed, May 16, 2018 at 04:54:05AM +0000, Alex Birchall wrote: > According to the documentation, "client" mode can be "yes" or "no". Default is "no" - server mode. > > From: stunnel-users [mailto:[email protected]] On Behalf Of Alex Birchall > Sent: 16 May 2018 05:50 > To: [email protected] > Subject: [stunnel-users] Stunnel running as service on Windows Server 2008 R2 but Stunnel All Users shortcut on the desktop reports that it server is down? > > Hello, > > I have Stunnel running as a service on a Windows Server 2008 R2. But the shortcut on the desktop "Stunnel All Users", when launched, informs me that the server is down due to an "invalid configuration file". > > In the config file, if Stunnel is being run as a service, should it be "client = no" or "server = yes"? The "client" setting does not depend on whether you run stunnel as a service or not; the only thing it depends on is what role you want stunnel to play in the TLS tunnel. When stunnel runs in client mode, it accepts unencrypted connections from other programs (e.g. an e-mail client) and establishes a secure tunnel to a TLS server to send the data encrypted over the network. When stunnel runs in server mode, it accepts encrypted connections over the network, decrypts the data, and sends it to a server that does not know how to or does not want to handle the TLS encryption by itself. If you know that you want to run stunnel in server mode (let it accept TLS connections, decrypt the data and hand it off to some server-like application to process it), then it is "client = no". G'luck, Peter -- Peter Pentchev [email protected] [email protected] [email protected] PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint 2EE7 A7A5 17FC 124C F115 C354 651E EFB0 2527 DF13 _______________________________________________ stunnel-users mailing list [email protected] https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEELuenpRf8EkzxFcNUZR7vsCUn3xMFAlr79iQACgkQZR7vsCUn 3xPVsw/+NdtenzlZRn7xLkk4SRywmpDfX65oLoDbx7ctruXs2+CC7/zj1Sj89VA2 VcIIBhMGXdoNhNdFj880D7bHRSyGetcNfVDTv6T1owU8WdlSKE/I6Q18Xm5Ij2xK Fdnz9H71JoEsbNbVWHYsZs2JF4R5e7jvlIJ4vkpGYRpVM4b1zb8XiwBBMrQaQVTx luHKwryDRiy/1wKNvOyQLBag/LQHCPHuHFjw3uD540Y0vC1ccK+NUtWd3Ca3V2nG IUo5pNYu+3Bs2gAWxNS9BewEhVEezeKsyUZGnRPPSHeUPm/64pVxXdiXKU1xXlPJ 2F3y4N11xc4tkz0d2w/fTsoaTD6d0gGO7yrPLluZHwl2kjdUlALBYKojIZoR492z +aJw0i71k3BcNp8IOE5jrC7j95xgSuP01Xajmx5uo8U6F60VsEHgOrICUGEOitOG xigN6Hyq1CI3TW3v7kbgT36ZuyRkNb3lND6plSCu3S2Me0xWg1Fj9ln8V90fZvf4 SNBDAngqE+91CZYn66OohqWGIP2H/orEpDbLHSRrQkRNhkNWgNY74UCbQM6vpbcV 8J5QNHU+zYDgAkA2Pv2cWfCO5BSqUIhagCsA2wIoE+XJK5c/jB2bZZN2jycSKjEU vn+jKAgdsHtUMXPXYBsKPaGhPxsEvTJc+R/lWbvCeAviZulwneI= =yhxQ -----END PGP SIGNATURE-----