User`s guide

D2.1.4 IST-033576
3.3.2 User certificate generation
Generate a user certificate request:
yjegou: openssl req -new -days 365
-keyout security/private/XtreemOS-Yvon-key.pem
-out security/XtreemOS-Yvon-req.pem
Generating a 1024 bit RSA private key
.....................................++++++
.....++++++
writing new private key to ’security/private/XtreemOS-Yvon-key.p
em’
Enter PEM pass phrase:
Verifying - Enter PEM pass phrase:
-----
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]:FR
State or Province Name (full name) [Some-State]:Bretagne
Locality Name (eg, city) []:Rennes
Organization Name (eg, company) [Internet Widgits Pty Ltd]:INRIA
Organizational Unit Name (eg, section) []:IRISA
Common Name (eg, YOUR name) []:Yvon Jegou
Email Address []:Yvon.Jegou-at-irisa.fr
Please enter the following ’extra’ attributes
to be sent with your certificate request
A challenge password []:XtreemOS
An optional company name []:
yjegou:
This openssl request generates a certificate request for user Yvon Jegou
1
.
Sign the certificate public key using the CA private key:
ca: openssl x509 -req
-in ~yjegou/security/XtreemOS-Yvon-req.pem
-out /tmp/XtreemOS-Yvon-cert.pem
-CA security/XtreemOS-ca.crt
1
Note: due to a bug in this release of xtreemos-nss-pam-0.04 the certificate DN section
should not contain any @ character, especially in the Email Address field.
17/49 XtreemOS–Integrated Project