Hi, 

I am setting up stunnel on my Windows 10 PC, but must be missing something 
small with the error I am getting: 

[ ] Initializing inetd mode configuration
[ ] Running on Windows 6.2
[ ] No limit detected for the number of clients
[.] stunnel 5.69 on x64-pc-mingw32-gnu platform
[.] Compiled/running with OpenSSL 3.0.8 7 Feb 2023
[.] Threading:WIN32 Sockets:SELECT,IPv6 TLS:ENGINE,OCSP,PSK,SNI
[ ] errno: (*_errno())
[ ] Initializing inetd mode configuration
[ ] Running on Windows 6.2
[.] Reading configuration from file C:\Program Files 
(x86)\stunnel\config\stunnel.conf
[.] UTF-8 byte order mark detected
[.] FIPS mode disabled
[ ] Compression disabled
[ ] No PRNG seeding was required
[ ] Initializing service [Sql_Secure_Trek-<port>]
[!] Cannot open PSKsecrets file
[!] C:\Program Files (x86)\stunnel\config\stunnel.conf:68: "PSKsecrets = 
"C:\Program Files (x86)\stunnel\config\pskSql.txt"": Failed to read PSK secrets
[!] Configuration failed
[ ] Deallocating temporary section defaults
[ ] Deallocating section [Sql_Secure_Trek-<port>]

Server is down

Here is my .conf file:

 ;Global settings:
debug = 7
output = stunnel.log
sslVersion = all
sslVersionMin = TLSv1.2
sslVersionMax = TLSv1.2

[Sql_Secure_Trek-<port>]
client = yes
accept = 0.0.0.0:<port>
connect = <IP>:<port>
ciphers = PSK
PSKsecrets = "C:\Program Files (x86)\stunnel\config\pskSql.txt"


Any ideas?
_______________________________________________
stunnel-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to