CMS Grid Certificate

Table of Contents


Grid Certificate Installation

  • Get new grid certificate from link : https://ca.cern.ch/ca/

  • Backup certificate from FireFox/safari and name it as cert.p12.

  • Copy file cert.p12 on lxplus (or lpc) home directory.

  • To create the .pem files from the .p12 certicicate, and set the correct permissions. Go to lxplus and run following commands:

    mkdir $HOME/.globus
    openssl pkcs12 -in cert.p12 -clcerts -nokeys -out $HOME/.globus/usercert.pem
    openssl pkcs12 -in cert.p12 -nocerts -out $HOME/.globus/userkey.pem
    chmod 400 $HOME/.globus/userkey.pem
    chmod 600 $HOME/.globus/usercert.pem
    chmod go-rx $HOME/.globus
    fs setacl -dir $HOME/.globus -acl system:anyuser l   # this command will work on lxplus  only
    
  • Test the setup using:

    voms-proxy-init -voms cms
    voms-proxy-info -all
    

Check when is your certificate expiring (From lxplus terminal)

openssl x509  -subject -dates -noout  -in $HOME/.globus/usercert.pem

computing at LPC

Link: https://lpc.fnal.gov/computing/

Change the default shell at lpc:

Reference: http://uscms.org/uscms_at_work/computing/setup/setup_software.shtml#shell




Enjoy Reading This Article?

Here are some more articles you might like to read next:

  • GitLab workflow for CMS-AN
  • EOS uses
  • Condor Jobs
  • Vi-Editor
  • Mac Settings
  • LPC Account Setting
  • Terminal multiplexer (screen/tmux)
  • Git CheatSheet
  • sed command
  • Sphinx: Python code documentation tool
  • find command