Hi Michal,
Did not have a look at the code yet, but should it be possible to
replace envvars usage by some keys in the registry on windows
platform and/or %userprofile%/config-file ?
why not just start stunnel with config parameter on command line? stunnel %USERPROFILE%/stunnel-config-file (windows) stunnel ${HOME}/stunnel-config-file (*nix)