Tags:
view all tags
%TOC% ---+ How to obtain a new GRID certificate Follow the procedure described in [[https://access.hellasgrid.gr/register/registration_form]] ---+ How to renew your GRID certificate or manage your account Use the menus at [[https://access.hellasgrid.gr/account]] ---+ Extracting usercert.pem and userkey.pem from a PKCS12 bundle file 1 Save your *latest valid* GRID certificate from your web browser were it was installed to a PKCS12 file, e.g. to !MyCertificate.p12<br /><span class="WYSIWYG_COLOR" style="color: red;"> _The procedure to export the certificate varies from browser to browser._ </span><br />For *Firefox*, the steps to follow are: 1 Edit → Preferences → Advanced → select _Certificates_ tab → View Certificates → Your Certificates 1 Select the *latest valid* certificate to be saved and click the "<strong>Backup...</strong>" button 1 Save the file, e.g. as _MyCertificate.p12_ (You will be asked to provide a <span class="WYSIWYG_COLOR" style="color: green;">password</span>, to be used later. __Use a complex one!__) 1 Transfer the file _MyCertificate.p12_ to your home directory at alpha.physics.uoi.gr 1 Login to alpha.physics.uoi.gr and use the following commands (use cut&paste) 1 <verbatim>openssl pkcs12 -nocerts -in ~/MyCertificate.p12 -out ~/userkey.pem</verbatim> * you will be asked for the <span class="WYSIWYG_COLOR" style="color: green;">password</span> used to create the PKCS12 file * you will then be asked to provide a _PEM pass phrase_ for the key encryption. __Use a complex one!__ 1 <verbatim>openssl pkcs12 -clcerts -nokeys -in ~/MyCertificate.p12 -out ~/usercert.pem</verbatim> * you will be asked for the <span style="color: green;">password</span> used to create the PKCS12 file 1 <verbatim>chmod 0400 ~/userkey.pem</verbatim> 1 <verbatim>chmod 0644 ~/usercert.pem</verbatim> 1 <verbatim>mkdir -p ~/.globus</verbatim> 1 <verbatim>mv -f ~/MyCertificate.p12 ~/userkey.pem ~/usercert.pem ~/.globus</verbatim> 1 You may now copy the directory ~/.globus from alpha.physics.uoi.gr to any UNIX machine from where you need to access the GRID, e.g. <verbatim>scp -rp ~/.globus username@lxplus.cern.ch:</verbatim> ---+ Generate a PKCS12 bundle file from existing PEM files To generate a <a href="https://www.everipedia.com/pkcs-12/" target="_blank">PKCS12</a> bundle file from existing PEM files (e.g. ~/NewCertificate.p12 from ~/.globus/userkey.pem and ~/.globus/usercert.pem)<br />on alpha.physics.uoi.gr, use the command: * <verbatim>openssl pkcs12 -export -in ~/.globus/usercert.pem -inkey ~/.globus/userkey.pem -name "My New Certificate" -out ~/NewCertificate.p12</verbatim> * you will be asked for the <span class="WYSIWYG_COLOR" style="color: green;">PEM pass phrase</span> used to encrypt the PEM key * you will be asked to provide an _export password_ to be used later. __Use a complex one!__ -- Main.IoannisPapadopoulos - 2009-10-27
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r5
<
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r4 - 2016-03-20
-
LouisCie
Home
Site map
HEPLAB web
Main web
Sandbox web
TWiki web
HEPLAB Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
Edit
Attach
Copyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback