RenewGridCert
How to renew the grid certificante
From the email:
"The Grid User certificate issued to CERN\johnda will expire in 7 days, on 09/08/2019.
Certificate details:
Serial number: 2a638ff000000006b35c Distinguished name: CN=John Alison, CN=664447, CN=johnda, OU=Users, OU=Organic Units, DC=cern, DC=ch"
Steps:
- Go to https://ca.cern.ch/ca/.
- Click "New Grid User Certificate"
- put in pwd ( XD3Ehht7YhxLmp7g2BhKVb )
- download certificante
- got myCertificate.p12
Now follow instructions here: https://twiki.cern.ch/twiki/bin/view/CMSPublic/WorkBookStartingGrid#ObtainingCert
- move the file to the globus directory
- remove old cert and key:
rm usercert.pem = =rm userkey.pem openssl pkcs12 -in myCertificate.p12 -clcerts -nokeys -out usercert.pem[Have to give password]openssl pkcs12 -in myCertificate.p12 -nocerts -out userkey.pemHave to give cert pwd Then create/veriffiy PEM pasa phrase (asd…)- >
chmod 400 userkey.pem>chmod 400 usercert.pem
- Copy them to lxplus, LPC, and falcon.
- then open Mac Keychain Access App (Got this by searching spotlight for keychain access)
- Drag and drop myCertificate.p12 to file list under tab "My Certificates"
- then clicked on the new entry (get info) and set it to always trust
- I then deleted the certificiate that was going to expire.