|
META TOPICPARENT |
name="WebHome" |
|
|
Extracting usercert.pem and userkey.pem from a PKCS12 bundle file |
|
< < |
- Save your GRID certificate from your web browser were it was installed to a PKCS12 file, e.g. to MyCertificate.p12
The procedure to export the certificate varies from browser to browser. For Firefox 3, the steps to follow are:
- Edit → Preferences → Advanced → View Certificates → Your Certificates
- Select the certificate to be saved and click the "Backup..." button
- Save the file, e.g. to MyCertificate.p12 (You will be asked to provide a password, to be used later. Use a complex one!
- Transfer the file MyCertificate.p12 to your home directory at alpha.physics.uoi.gr
- Login to alpha.physics.uoi.gr and use the following commands (cut&paste)
|
> > |
- Save your latest valid GRID certificate from your web browser were it was installed to a PKCS12 file, e.g. to MyCertificate.p12
The procedure to export the certificate varies from browser to browser. For Firefox, the steps to follow are:
- Edit → Preferences → Advanced → select Certificates tab → View Certificates → Your Certificates
- Select the latest valid certificate to be saved and click the "Backup..." button
- Save the file, e.g. as MyCertificate.p12 (You will be asked to provide a password, to be used later. Use a complex one!)
- Transfer the file MyCertificate.p12 to your home directory at alpha.physics.uoi.gr
- Login to alpha.physics.uoi.gr and use the following commands (use cut&paste)
|
|
-
-
openssl pkcs12 -nocerts -in ~/MyCertificate.p12 -out ~/userkey.pem
- you will be asked for the password used to create the PKCS12 file
|
|
< < |
-
-
- you will be asked to provide a PEM pass phrase for the key encryption. Use a complex one!
|
> > |
-
-
- you will then be asked to provide a PEM pass phrase for the key encryption. Use a complex one!
|
|
-
-
openssl pkcs12 -clcerts -nokeys -in ~/MyCertificate.p12 -out ~/usercert.pem
- you will be asked for the password used to create the PKCS12 file
-
chmod 0400 ~/userkey.pem
|