Creating a self-signed SSL certificate
$ openssl req -new -x509 -sha256 -days 10000 -nodes -out server.crt -keyout server.key- Set the Common Name (CN) to the FQDN and enter "." for everything else.
- Put files
server.crtandserver.keyto/etc/httpd/(on Slackware) and set their permissions to 600.