270793
To generate a key and self signed certificate, execute the following commands:
270793
270793
cd /etc/pki/tls/certs
270793
make stunnel.pem
270793
270793
Note that by default, the file containing the key and certificate has its
270793
permissions set to 0600, which means that any service using it needs to be
270793
started as root in order to read it.  Such a service should be configured
270793
to switch UIDs using stunnel's "-s" flag.