openssl pkcs12 -in YourCert.p12 -clcerts -nokeys -out $HOME/.globus/usercert.pem
openssl pkcs12 -in YourCert.p12 -nocerts -out $HOME/.globus/userkey.pem
grid-cert-request -host <fully qualified domain name> -dir $HOME
To get a certificate for a service running on a particular host
grid-cert-request -service <Service name> -host <fully qualified domain name>
-dir $HOME
This will create the following files in $HOME (or whatever directory you specify): usercert_request.pem which contains the PCKS10 request; an empty usercert.pem file; and a userkey.pem file which contains the private key for the certificate.
-----BEGIN
CERTIFICATE REQUEST-----
up to and including the line -----END
CERTIFICATE REQUEST-----
generated by grid-cert-request. Fill in your
name, email and phone number and submit the form.