Hi,

I have two Windows based stations with one hosting a specific service. Stunnel
is used to create a secure connection.

As stated on the auth page, I have implemented PSK to prevent MITM Attack
but also as a way to authenticate connections and limit who can connect
to the server.

I would like to add an extra layer of security by having the Server
only accept connections when the client submits a pre-agreed self cert.
verifyPeer does not seem to work with self certificate.

I would like to end up with PSK + certificate check.

Is there a way to achieve that with self certificate on Stunnel?

Thanks.