Druck Version

Requesting a Grid Certificate

Since the authentication and authorization of resources and people functioning in Grid-related areas, is performed by a Public Key Infrastructure (PKI), participation to Grid Computing requires a certificate that adheres to the specifications of the European Policy Management Authority for Grid Authentication in e-Science (EUGridPMA) . Due to the cooperation of the EUGridPMA and the corresponding american (TAGPMA) and Asia-Pacific (APGridPMA) associations, these certificates have a worldwide scope within the scientific field.

For Germany, members of the EUGridPMA are the DFN - German Research Network and the Karlsruhe Research center(FZK). The aforementioned organisations operate a so called Certification Authority (CA), which is commissioned to generate Certifications adhering to the EUGridPMA specifications. In order for an electronic certificate to be identified with one person or resource, it is necessary that the owner or the party responsible for the resource, respectively, appear personally to one of these CAs along with an appropriate document to verify his identity.
To simplify this process for the users, the so called Registration Authorities (RA) were established. Their function is to undertake this operation on behalf of the CA. LRZ is authorized to operate a DFN-PKI related RA, responsible for LRZ itself and for the three Universities in Munich.

Besides these classic X.509 certificates, Grid middleware can also use so-called short lived credentials, SLCs, issued by a short lived credential service, SLCS. In Germany the DFN is operating such a service. The advantage is that no trip to an RA is necessary, all can be conveniently done from your desk via the internet - if your home institution provides an accepted identity provider. The drawback is that these SLCs are only valid for a maximum of 7 days.

Obtaining a Short Lived Credential

All you need to do is browse to the SLCS of the DFN and follow the instructions given there. This flash movie (with audio narrative) explains what is happening behind the scenes.

LRZ needs to register the certificate's unique identification string and associate it with your user account.

To use a short lived credential in your browser you need the certificate in P12 format. This can easily be obtained from the SLCS by clicking the box P12 format desired. You will then receive it only in P12 format in your /tmp directory. This file will be protected with the password "DFN".

The import of this file is depending on the type of browser you use.

Obtaining a Long Lived Credential

Generating a User Certificate Request

The first step to acquire a certificate is by generating a certificate request. The easiest way is to use a browser capable of handling certificate generation such as Firefox 3.0 or higher (3.5 recommended). The following steps are required: LRZ needs to register the certificate's unique identification string and associate it with your user account.

Extracting your certificate

In order to do extract your certificate from the browser:

Using the certificate with Globus

For this step you should open a terminal window and make sure you have installed OpenSSL which you can get from the OpenSSL Website. Go to the folder where you saved the usercert.p12 file and type the following commands: The files usercert.pem and userkey.pem should be saved in the .globus directory in your home directory in a unix machine. In a windows machine the corresponding folder would be under
\Documents and Settings\{Your Username}\.globus

For those who are using GSISSH-Term, apart from the userkey.pem, usercert.pem, authentication with the p12 keys and browser is also possible. If there is some need to convert p12 into .pem files it can be done in following way:

openssl pkcs12 -export -inkey userkey.pem -out gsisshterm.p12 -name "Firstname Lastname" -in usercert.pem

Information on using the private key of a personal certificate

The role of the private key is to enable identify a person in the Grid. This means that a person who manages to get access to your private key will, as regards the grid, be identified with your person. It is important to make sure that the private key is accessible only by you. On Linux systems you should make sure that you remove all privileges from group and other users. Do not provide your private key password to other people and make sure it does not accidentally fall into the wrong hands.

The default validity period for DFN certificates is a year. Renewal of the certificate should be done as described. If the identification provided initially is still valid it need not be presented at the LRZ again.

For any further questions please contact the LRZ Grid Team

Apart from this, it is a good idea to familiarize oneself with the various PKI operations (Policies, CRLs, etc.). You can find general information about certificates and certification policies at the LRZ (Encryption, digital signatures, Certification) as well as the DFN (both in German).