|
Apache-SSLeay-Open
SSL
Key
and CSR Generation
1.
The utility openssl
that you use to generate the key and CSR comes with OpenSSL and is usually
installed under /usr/local/ssl/bin.
Select five large and relatively random files from your hard drive (compressed
log files are a good start). These will act as your random seed enhancers.
We refer to them as file1:...:file5 below.
2.
Go to your SSL directory
cd
/usr/local/ssl/private
3.
Generate
a private key: openssl
genrsa -des3 -rand file1:...:file5 1024 > www.xxx.com.key
Note:
PLEASE
backup your www.xxx.com.key and make a note of the passphrase
4.
Go to your certs directory
cd /usr/local/ssl/certs
5.
Generate a CSR from your key: openssl
req -new -key ../private/www.xxx.com.key > www.xxx.com.csr
|