How to get a Grid User Certificate¶
A Grid User Certificate is a personal certificate that can be used for e-Science authentication.
The Certificate Authority switched to HARICA in 2025.
Important
- HARICA-issued certificates are not compatible with Janus authentication.
- The Distinguished Name (DN) of the certificate has changed. You must register your new certificate in all relevant applications (e.g., IAM, Helpdesk, GOCDB).
Another option is to use the CERN Certificate Authority (CA) if you have a CERN account: https://ca.cern.ch/ca/
Note
You are responsible for the escrow and backup of the private keys of your certificates.
How to Request a Personal Certificate via HARICA¶
(For CNRS or Université Savoie Mont-Blanc users)
Access the HARICA Portal¶
Go to the HARICA portal: https://cm.harica.gr/
Log In¶
- On the login page, click "Academic Login".
- On the "Find Your Institution" page:
- Type "CNRS" and select "CNRS - Units staff".
You will be redirected to the CNRS (Janus) login page for authentication.
Request a Certificate¶
- In the left-side menu, click "IGTF Client Auth".
- Select "GÉANT Personal Authentication" and click "Next".
- Review your request and accept the terms and conditions.
Generate Your Certificate¶
- On the dashboard, find your new certificate under "Ready Certificates".
- Click "Enroll your certificate".
- Click "Generate Certificate" and fill in the form:
- Algorithm: RSA (default)
- Key size: 4096
- Set and confirm a passphrase
- Click "Enroll Certificate".
Download Your Certificate¶
Once ready, click "Download" to save your certificate file.
Analyze the contents of a new certificate¶
This can be done with OpenSSL. First run:
You will need to provide the passphrase used to encrypt the pkcs#12 file. Then use the following command to display the contents of the certificate:
Import your personal certificate into your browser¶
The downloaded certificate is in PKCS12 format. It can be loaded into a browser or converted to X.509 format for use with grid tools.
Detailed documentation (in French) is available at: https://services.renater.fr/tcs/faq/tcs_personnes/export_import#importer_une_sauvegarde_de_certificat_dans_mon_navigateur
In Firefox, click Options → Advanced → View Certificates:
- In the Certificate Manager window, make sure that the "Your Certificates" tab is selected.
- Click the Import button.
- Open the .p12 or .pfx file with your certificate.
- Provide the private key password if needed.
You should then see the imported certificate in the list of installed certificates.
Store the certificate on Linux servers¶
To run grid jobs, you need to import your certificate onto the lappui/lapthui/lappusmb (MUST), cca (CC-IN2P3) or lxplus (CERN) servers.
Export your certificate from your web browser and save it on your computer in PKCS12 format as a usercertkey.p12 file. Then follow these steps:
-
Create the
.globusdirectory on the Linux server: -
From your computer, copy the
usercertkey.p12file into this directory: -
On the server, in your
$HOME/.globusdirectory, convert it to PEM format and adjust permissions on the generated files: -
Check the Distinguished Name (DN) and the expiration date of the certificate:
-
Test your certificate: