dnf install crypto-utils genkey --days 3650 <domain>The program asks you some questions. You're not going super secure so might as well get 10 year duration. Better to use Lets Encrypt.
Computer Tips - Old - How can I make a self-signed certificate with no password?
Date: 2017may26 OS: RedHat/Fedora/CentOS Language: bash Keywords: cert, key, keygen, makekey, makecert, ssl, ssh, letsencrypt, certbot Q. How can I make a self-signed certificate with no password? (For a https://... website) A.