This document contains some general instructions on how a scientist can obtain an electronic credentials that allow
the use of the Open Science Grid (OSG). Getting these credentials
is part of the process of becoming a new grid user.
The steps are:
Getting what's called a certificate as described below in this document.
Registering this certificate with a type of organization known as a VO that is authorized to use computers on the grid. This is explained further down in this document.
These instructions are mainly for users who do not have credentials.
If you already have a certificate, you probably want to
instead renew or replace it.
You first need to know the VO you should join. If you're not sure,
this list may help, or please email the Grid Operations Center.
From your VO you should find out
Whether to use these instructions or some VO specific ones instead;
Who to use as your sponsor for the certificate;
The URL for applying for VO membership, the sponsor to use, and what group, if any, to request; and
What machine you can use to submit jobs to OSG. The VO may need to make you an account on that machine.
These instructions were written for Firefox although
the basic steps are similar for other browsers.
Setting the Master Password (Optional)
To help protect the certificate, it's best to set
Firefox's master password. First, go to the Security
submenu under Options/Preferences, which is reachable underTools -> Options for Windows,
Firefox -> Preferences for Macs, and
Edit -> Preferences for Linux.
Then click on the "Use a master password" button
and set a password when prompted.
The browser will later ask you for this password
when you use your certificate.
There is more information about protecting grid
Downloading Certifying Authority certificate files for OSG CILogon-based certificates
Here you will find the location from which you can download the CILogon OSG CA root cert that is needed to be added to the OS X Keychain (for example) or to the trusted issuer stores in the various browsers.
The following is a sample of the page.
Installing Certifying Authority certificates into a web browser
To import the CA certificates into your browser, download the cilogon-osg.pem file and then follow these instructions. These instructions are for Firefox but most browsers have something similar.
Go to Preferences -> Advanced -> Certificates -> View Certificates -> Authorities:
Click "Import" and select the certificate just downloaded.
After you select the certificate, this window will be shown
Click on the first two "Trust" boxes and click "OK" to save it.
Select the appropriate VO from the drop down menu.
After having read through the OSG Policy Agreement, check the "I AGREE" box and click on Submit.
In most cases, you will have to separately apply for VO membership. For that, you will likely use VOMS-Admin server. It requires that you have your certificate before applying.
Find out the URL of your VOMS-Admin
server either from your VO administrator, or the list at MyOSG.
Registration Using a VOMS-Admin Server
Go to the voms-admin URL for your VO. Make sure that the DN listed is the one for the certificate that you just got, then fill out the form and click "register". If you should belong to a particular group, either send an email to the VO administrator or, if there is a comments box on the page, mention that there. ScreenshotHide
Wait for the email from the VOMS-Admin server, and click on the URL in it to complete the request. ScreenshotHide
Wait for an email triggered by a human, the VO administrator, saying that you are approved.
To confirm this step, visit the
VOMS-Admin server again and check that you get a
page like this:
Exporting the Certificate to Disk
To export your certificate,
Open the certificate manager: Options/Preferences -> Advanced -> Certificates -> View Certificates. Select the certificate that you would like to export, and press "Backup".
When prompted, type in the name of the file to hold the new certificate. If you name it "usercred.p12" then grid programs can automatically recognize it.
When prompted, set a password for the certificate. You'll need this to be able to use the certificate later.
After pressing OK, you should see:
Transferring the Certificate to the Submit Host
You next need to transfer your certificate to the
machine from which you'll be submitting jobs, the
Find out from your VO the name of a submit host.
One way to do the transfer is with the /scp/ program.
Here you should replace YOUR_USERNAME with your user id on the submit host, and SUBMIT_HOSTNAME with the name of the submit host. The "@" and ":" symbols are important. Another way to do the transfer is with a GUI scp/sftp client.