stunnel/Certificate-Creation
Troy Dawson f5cf6420c2 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/stunnel#f9ca4da8a2d51f8ede0dc3bd12b1df466ad9786a
2020-10-15 10:04:32 -07:00

10 lines
385 B
Plaintext

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