[stunnel-users] No certificate or private key specified

Małgorzata Olszówka Malgorzata.Olszowka at stunnel.org
Mon Oct 23 12:49:22 CEST 2017


> 
> “No certificate or private key specified” – is this significant?
>  
> We tried giving the certification a hard location but still it seems 
> unable to find it. Is there anything in the cfg you can see missing? 
> Bearing in mind this is standard cfg for our clients connecting in.
> 
Hi Hugo,
I suggest you set the debugging stuff, it may be useful for troubleshooting:
debug = debug

The verify option is obsolete and can be replaced with the verifyChain 
and verifyPeer options.
A certificate chain is optional in the client mode. You can use the cert 
option if you need it:
cert = CERT_FILE

Details https://www.stunnel.org/static/stunnel.html.

Then you can test your connection:
telnet 127.0.0.1 16002
The stunnel logs will show information about the connection attempt.

Regards,
Malgorzata Olszowka


More information about the stunnel-users mailing list