Ok – weird. It just started working and I now can’t make it fail. Same config file and same command line, but now it works.
Strange…
From: Eric Eberhard <flash@vicsmba.com>
Sent: Thursday, October 18, 2018 3:03 PM
To: Steve Jones <sjones@excelsiorcg.com>; stunnel-users@stunnel.org
Subject: RE: [stunnel-users] Windows stunnel Command Line Configuration File Location
If it reading from .\config … then I would try putting the path in quotes. If it fails to read the one in \temp but is not reading anything, I would check permissions on the directory and file (easy test is
set “everyone” to full permissions, at least as a test). You have to do the entire directory tree (in the case of c:\temp it is just that directory) and the file.
Eric
From: stunnel-users [mailto:stunnel-users-bounces@stunnel.org]
On Behalf Of Steve Jones
Sent: Wednesday, October 17, 2018 1:59 PM
To: stunnel-users@stunnel.org
Subject: [stunnel-users] Windows stunnel Command Line Configuration File Location
I would like to be able to run stunnel interactively on Windows, but specify a different location for the configuration file. When I looked at the help output, it stated that you could pass a parameter for “[<filename>]”. I assumed I
could put a path on there, but it does not appear to work. For example, I tried running “stunnel.exe C:\temp\stunnel.conf”, but it would not find the configuration file even though it is there.
Is there a way to do what I am trying to do or does the config file have to be in a folder “..\config”?
Thanks.