[stunnel-users] Is there a way to specify certificate content in stunnel config

Eric S Eberhard flash at vicsmba.com
Tue Jul 24 00:48:35 CEST 2018

Use stunnel in inetd mode.  Execute a script (or better C program).  Copy the certificates for making the stunnel connection to a directory that is OK … then delete them immediately after stunnel starts.  Hack – but might be OK for what you are doing.


I am not sure why anyone would think it more secure to put the keys into the stunnel command than to just use them from a file … but I likely do not know enough about your application to make a judgement.





Eric S Eberhard

VICS (Vertical Integrated Computer Systems)

Voice: 928 567 3529

Cell    : 928 301 7537  (not reliable except for text or if not home)

2933 W Middle Verde Rd

Camp Verde, AZ  86322


From: stunnel-users [mailto:stunnel-users-bounces at stunnel.org] On Behalf Of Hari
Sent: Thursday, July 19, 2018 4:42 AM
To: stunnel-users at stunnel.org
Subject: [stunnel-users] Is there a way to specify certificate content in stunnel config




I have a requirement where in i cannot specify the certificate and/or private key details as "files" to stunnel configuration, owing to the location and/or file system availability for stunnel to access them.


Is there a way to specify the actual certificate content in stunnel configuration (similar to other parameters like port numbers etc.,) so that the same can be leveraged.






Virus-free.  <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> www.avg.com 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20180723/0c10f4cc/attachment.html>

More information about the stunnel-users mailing list