To create the stunnel.pem in the /etc/stunnel directory, you need to create one. The following command prompts you for the necessary information. Ensure you reply to the Common Name (FQDN of your server) [localhost]: prompt with the name or IP address you will be using to access the service(s).

This batch file runs the program openssl with the following parameters. Create a certificate request (req) that is new in the X.509 digital certificate format, using the RSA cipher with a 1,024-bit key, good for 3650 days use the config file (stunnel.cnf) for additional information and write out both its key (private) and (public) certificate to the same file, stunnel.pem. 4.8. Using stunnel Red Hat Enterprise Linux 7 | Red Hat certs]# make stunnel.pem. Answer all of the questions to complete the process. When you have a certificate, create a configuration file for stunnel. It is a text file in which every line specifies an option or the beginning of a service definition. You can also keep comments and empty lines in the file to improve its legibility, where comments Stunnel + OpenVPN Server on Ubuntu 16.04 | by Jayden Chua

Dec 17, 2019

Mar 12, 2020

; Certificate/key is needed in server mode and optional in client mode cert = stunnel.pem ;key = stunnel.pem ; Disable support for insecure SSLv2 protocol options = NO_SSLv2 [FIX] accept = 127.0.0.1:5679 connect = 216.52.236.112:5680 TIMEOUTconnect = 5 [FIXLIVE] accept = 127.0.0.1:5680 connect = 216.52.236.185:51581 TIMEOUTconnect = 5

[https] accept = 8443 connect = 8090 cert = stunnel.pem – radar Jul 26 '18 at 4:01 I'm not sure what you mean that there isn't an option for that. You have to add it to the config file. Using Stunnel to Encrypt Communications Note that the stunnel.pem, is actually a private key and a certificate in a single file. These two can be kept and specified individually, but keeping them in one file is more convenient. The config file, stunnel-sd.conf, needed for Stunnel 4 on the server machine is: stunnel: Securing the Insecure with SSL and Creating SSL