Written by Terrence Martin | |
Instructions for registering your OSG certificate for CMS and getting set up to submit your first jobs. If you are not a CMS user and are instead a local UCSD user please follow these instructions. Differences between CMS VOMS and UCSD Grid registration are noted.
Step 1-a: DOE Grid Certificate Application and Renewal Note: You must use the same web browser this step. We recommend you use a recent version of Firefox Go to the web site https://pki1.doegrids.org/ and select New User Fill your own information for the subscribers identity and contact information. In the affiliation drop down select OSG and in the second drop down "VO Name for OSG(Virtual Organization Name)" select CMS. For sponsor information put the following Terrence Martin Leave additional comments and passwords blank. Select 2048 key length and hit submit Write down the number you recieve in response. After a couple of days you may be contacted by phone or in person to verify your identity. Once your identity is verified you will recieve an email in a day or so telling you that you can download your signed certificate. Follow that emails instructions. Once completed you should have your DOE certificate for the OSG in your browser. This certificate can then be exported to other browsers and to a file suitable for use in submitting Grid jobs.
Step 1-b: CERN Certificate Step 2: Registering your certificate with the CMS VOMS Server NOTE: Step 2 is only for users that are registering with CMS VOMS. If you are a local UCSD user then skip to step 3. NOTE: Registration has changed. Please visit http://cms.cern.ch/iCMS/jsp/secr/reg/reg.jsp for an online form. Step 3: Exporting your certificate 1. If you are using mozilla or firefox go under your preferences and find your manage certificates button. It is often under advanced or security settings Step 4: Converting a p12 file to a voms-proxy cert file NOTE: If you are a local UCSD grid user and not part of CMS you need to use grid-proxy-init rather than voms-proxy-init.
#~ openssl pkcs12 -nocerts -in DOEGrid.p12 -out userkey.pem
Step 5: Getting your voms or grid proxy
VOMS Proxy First source the osg install setup. GRID Proxy If you are not in the CMS HR database and are running just as a local UCSD user run grid-proxy-init
Optional: Creating a longer lived voms proxy
voms-proxy-init -valid 120:00 --voms cms:/cms/uscms/Role=cmsuser Optional: Destroying your proxy It is sometimes necessary to remove your proxy. To do this the best approach is to use voms-proxy-destroy or grid-proxy-destroy as necessary. By running one of these commands you remove the proxy from the submit host so you can create another. |