6–20
MULTINET4 MULTI-PORT SERIAL SERVER & MANAGED SWITCH – INSTRUCTION MANUAL
OPERATIONAL GUIDE
CHAPTER 6: OPERATIONAL GUIDE
Step 4: Create an RSA key and a certificate request for your system
$ openssl req -newkey rsa:1024 -nodes -sha1 -keyout syskey.pem -out
sysreq.pem
Generating a 1024 bit RSA private key
.++++++
.................++++++
writing new private key to 'syskey.pem'
-----
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]:MA
Locality Name (eg, city) []:North Andover
Organization Name (eg, company) [Internet Widgits Pty Ltd]:DYMEC,
Inc.
Organizational Unit Name (eg, section) []:Network Planning
Common Name (eg, YOUR name) []:Planner
Email Address []:planner@dymec.com
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:
Step 5: Create the system’s certificate and have it signed by the CA
$ openssl x509 -req -in sysreq.pem -sha1 -CA ca.pem -CAkey ca.pem -
CAcreateserial -out syscert.pem
Signature ok
subject=/C=US/ST=MA/L=North Andover/O=DYMEC, Inc./OU=Network
Planning/CN=Planner/emailAddress=planner@dymec.com
Getting CA Private Key