Generating a self-signed certificate in RedHat

1) Make sure that the crypto-utils package is installed:

     yum install crypto-utils 

2) Generate the key using:

    genkey --days 3650 www.byteguild.com