[stunnel-users] Going from 3.x command line to 4.x .conf file

Michal Trojnara Michal.Trojnara at mirt.net
Wed Aug 25 09:24:38 CEST 2004

Thomas Gagné wrote:

>     ./stunnel -c -p client.pem -d localhost:2401 -r
>     repository.sourcehosting.net:2402 -P none -f -v 3 -A cacert.pem
>     key = client.pem
>     cert = cacert.pem

Wrong.  "key" is the optional private key to the "cert".
If not specified it is assumed to be the same file.

You configuration should be:
    cert = client.pem
    CAfile = cacert.pem

Best regards,

More information about the stunnel-users mailing list