Enabling SSL under Red Hat Enterprise Linux
Friday, May 29th, 2009Create the keys – replace the O, OU & URL with your own data. These are locally signed keys:
# openssl req -new -x509 -sha1 -newkey rsa:1024 \
> -nodes -keyout test.key -out test.crt \
> -subj ‘/O=NP/OU=Support/CN=www.example.com’
Generating a 1024 bit RSA private key
…………………………………….++++++
……………………….++++++
writing new private key to ‘test.key’
—–
Put the keys in their respective folders:
# ls -lrt
total 912
-rw-r–r– [...]
