Macedonian Academic Research Grid Initiative
Exporting certificate from Mozilla Firefox/Netscape
Export Your Certificate from Mozilla
In order to use your certificate with any of the LCG applications you must export both your certificate and private key from your Mozilla browser and convert them to the neceassry format.
Change your certificate format from P12 to PEM
Transfer the file you have just backed up to the UI(User Interface) your are using.You will need to change this to PEM format. If the edg-utils package is installed on your machine, simply executing /opt/edg/bin/pkcs12-extract will create appropriate certificate and key files and place them in the standard location.If this is not an option then you will have to do it mannually executing the following commands
> openssl pkcs12 -nocerts \
> openssl pkcs12 -clcerts -nokeys
The first command gives you your private key; this file must be readable only by you (e.g. unix permission 0600). The second command gives your public certificate (e.g. unix permission 0644). The ~ user should be replaced by the path to your home area. The .globus subdirectory is standard place to put your certificates.