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