--<cut>--
# cd /etc/httpsd/conf/
# openssl req -new > new.cert.csr
Using configuration from //etc/openssl.cnf
Generating a 1024 bit RSA private key
.......++++++
........................++++++
writing new private key to 'privkey.pem'
Enter PEM pass phrase: # Must be 4 characters or more
Verifying password - Enter PEM pass phrase: # Remember this, you'll need it below
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:US
State or Province Name (full name) [Some-State]:California
Locality Name (eg, city) []:Santa Clara
Organization Name (eg, company) [Internet Widgits Pty Ltd]:Nuron
Organizational Unit Name (eg, section) []:Engineering
Common Name (eg, YOUR name) []:J C Lawrence
Email Address []:claw@nuron.com
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []: # Just hit ENTER
An optional company name []: # Just hit ENTER
# openssl rsa -in privkey.pem -out new.cert.key
read RSA key
Enter PEM pass phrase: # See, I told you you'd need it again!
writing RSA key
# openssl x509 -in new.cert.csr -out new.cert.cert -req -signkey new.cert.key -days 365
Signature ok
subject=/C=US/ST=California/L=Santa Clara/O=Nuron/OU=Engineering/CN=J C Lawrence/Email=claw@nuron.com
Getting Private key
#
--<cut>--
--
JcLawrence - 07 Sep 2000