Grid tutorial

Grid tutorial at CERN

Get your grid certificate

  • Export Your Certificate into Your AFS directory (These instructions are copy-paste from: http://www-pnp.physics.ox.ac.uk/~powell/documents/GridCert.html) In order to use your certificate with any of the LCG applications you must export both your certificate and private key from your Mozilla browser and convert them to the neceassry format. To do this:
    • Open your Mozilla browser and click on Edit and then on Preferences.
    • Expand the Privacy & Security tab and select Certificates.
    • Click on the "Manage Certificates..." button.
    • Select your User Certificate (named eScience) and click the Backup button.
    • Mozilla will prompt you to choose a filename and location for the exported file containing both your certificate and private key. Save this locally on your ppslgen space with the file extension ".p12" (in my example i called it teregrid.p12). You will have to enter a new password to export the file and encrypt it (PASS PHRASE).

openssl pkcs12 -nocerts -in teregrid.p12 -out userkey.pem
openssl pkcs12 -clcerts -nokeys -in teregrid.p12 -out usercert.pem
chmod 400 userkey.pem
chmod 444 usercert.pem

  • Login into lxplus:
cd ~
mkdir .globus
Copy in the .globus directory the two files you have in your local machine: userkey.pem and usercert.pem

source /afs/cern.ch/project/gd/LCG-share/current/etc/profile.d/grid_env.csh
Note: Because of problems with versions of SL3/SL4 you may have to substitute "previous" for "current". (or vice versa!) (Instructions from: https://twiki.cern.ch/twiki/bin/view/Atlas/WorkBookStartingGrid)

voms-proxy-init
You'll be prompted for your password. You are set up

Useful links

Useful links

-- TeresaFonsecaMartin - 02 Oct 2007

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2007-10-03 - TeresaFonsecaMartin
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback