Stunnel Package: PSK Not Available
The stunnel package was recently changed to use libressl instead of openssl which appears to prevent PSK from working.
Here’s an example stunnel.conf that will replicate the issue:
[testservice]
accept = 4000
connect = 4001
client = yes
ciphers = PSK
PSKidentity = testuser
PSKsecrets = /etc/stunnel/psk.txt
Error message
[!] /etc/stunnel/stunnel.conf:6: "PSKidentity = testuser": Specified option name is not valid here
PSK works when installing stunnel
from source with openssl.
(from redmine: issue id 6428, created on 2016-11-04)