You don't have the right version of redhat that includes sslgenrsa... however, just use openssl directly:
The files below are examples (/etc/httpd/conf/server.key and /etc/httpd/conf/server.csr) can be name you'd like.
Eventually the key files and the cert that you get back from the CA need to put in the proper place for your website configuration. Don't loose the key files, nor mix them up. The cert won't work without the matching keys.
Here we're generating server public and private keys, and storing them in /etc/httpd/conf/server.key
/usr/bin/openssl genrsa -rand /dev/urandom -out /etc/httpd/conf/server.key 1024
Here we're requesting the csr, using the previous server key, and putting the request in /etc/httpd/conf/server.csr
/usr/bin/openssl req -new -key /etc/httpd/conf/server.key -out /etc/httpd/conf/server.csr