Re: stunnel public private key authentication like ssh

Małgorzata Olszówka <[email protected]>
Newsgroups gmane.network.stunnel.user
Message-ID <[email protected]>
> Is there a way to configure stunnel just to check the public key of the
> provided certificate?  I want authentication between the server and the
> client to take place by public key only, no PKI just like ssh.  Is this
> possible?  Is this verify level 4, or does that still check the CN
> against the host that I am connecting to?
>

Hello,
You can verify the peer certificate by setting the option:
verifyPeer = yes
The peer certificate needs to be stored in the file specified with Cafile.

Regards.
_______________________________________________
stunnel-users mailing list
[email protected]
https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.