60 likes | 180 Views
ALICE Grid tutorial certificate session. Kilian Schwarz. a) How to get a certificate. Go via web browser to: https://gridka-ca-sec.fzk.de/ Chose „persönliche Zertifikate“ (or the corresponding thing in English) And apply for a certificate NOTE:
E N D
ALICE Grid tutorialcertificate session Kilian Schwarz
a) How to get a certificate • Go via web browser to: • https://gridka-ca-sec.fzk.de/ • Chose „persönliche Zertifikate“ (or the corresponding thing in English) • And apply for a certificate • NOTE: • Make sure you remember what browser you used on what machine • For picking up the certificate you need to use exactly the same browser since your private key will be stored there
b) Receiving your certificate • You would get an e-mail notification with a link to follow associated with a given password • Download the certificate via the same browser you used for application • Export your certificate (with private key) to some local file (*.p12) on your computer • Extract pem files using openssl: • openssl pkcs12 -in my_new_cert.p12 -nocerts -out userkey.pem (remember PEM phrase) • openssl pkcs12 -in my_new_cert.p12 -nokeys -out usercert.pem • chmod 400 userkey.pem
c) Registration in ALICE VO • Go via web browser to: • http://alien.cern.ch/twiki/bin/view/Alice/UserRegistration • Follow steps 1-4 • Your certificate should still be in the browser from the application process
d) AliEn access • At GSI: • . .alienv217login (only on Debian Etch) • put your certificates in $HOME/.alien/globus as usercert.pem and userkey.pem (permission 0600) • Elsewhere: • Install and configure an AliEn client following the instruction in: • http://alien2.cern.ch/index.php?option=com_content&view=article&id=44:clientinstall&catid=3&Itemid=101 • Do • alien proxy-init • alien-token-init • alien
e) AliEn access from ROOT • At GSI: • . .alienv217rootlogin • alien proxy-init • alien-token-init • source /tmp/gclient_env_$UID • . alilogin v4-18-16-AN (or other version) • root –b • Root:>TGrid::Connect("alien://") • Root:>TFile *f2 = TFile::Open("alien:////alice/sim/2007/LHC07c/pp_minbias/8256/999/Kinematics.root") (as an example) • Elsewhere: • Initialise your own ROOT/AliRoot/AliEn environment beforehand