TWiki
>
AtlasCanada Web
>
ComputingPage
>
GridUserCertificateInformation
>
ConvertYourGridCertificateToOtherFormats
(2026-10-05,
AsokaDeSilva
)
(raw view)
E
dit
A
ttach
---+ Converting Grid Certificates to Other Formats %BR%%BR%%BR%%BR%%BR% %X% *WARNING:* This page is obsolete. Please look at [[ https://atlas-software.docs.cern.ch/analysis/analysis_tutorial/basicSetup/grid_cert/ ]]. %BR%%BR%%BR%%BR%%BR% %TOC% * %RED% Take these [[GridCertificatePreliminaryPrecautions][Precautions]] before doing anything in =~/.globus= %ENDCOLOR% * %RED% Do these =openssl= commands on lxplus and not on your laptop / different OS to avoid issues. %ENDCOLOR% ---++ Converting to p12 from pem files * You will need to have these two files in =~/.globus= * =userkey.pem= * =usercert.pem= * Delete any old =~/.globus/myCert.p12= file first. (Take [[GridCertificatePreliminaryPrecautions][Precautions]] !) * Do this to create the p12 file. <verbatim> cd ~/.globus openssl pkcs12 -export -inkey ./userkey.pem -in ./usercert.pem -out ./myCert.p12 -name "My Grid User Certificate" chmod 400 ./myCert.p12</verbatim> ---++ Converting to pem files from p12 * You will need to have a p12 file =~/.globus/myCert.p12= * Delete any old =~/.globus/userkey.pem= and =~/.globus/usercert.pem= files first. (Take [[GridCertificatePreliminaryPrecautions][Precautions]] !) * Do this to create the =userkey.pem= and =usercert.pem= files. <verbatim> cd ~/.globus openssl pkcs12 -nocerts -in ./myCert.p12 -out ./userkey.pem openssl pkcs12 -clcerts -nokeys -in ./myCert.p12 -out ./usercert_noText.pem openssl x509 -in ./usercert_noText.pem -text > ./usercert.pem rm ./usercert_noText.pem chmod 444 ./usercert.pem chmod 400 ./userkey.pem</verbatim>
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r5
<
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r5 - 2026-10-05
-
AsokaDeSilva
AtlasCanada
Navigate ATLAS-Canada Wiki:
*
Home
* *
Activities
*
Analysis
Computing
Datasets
Getting Started
Grid Activities
*
Meetings
* *
People in ATLAS Canada
*
User Services
Travel To CERN
Wikis:
ATLAS
ATLAS Physics
Alberta
McGill
Montreal
SFU
Toronto
TRIUMF
UVic
ATLAS-Canada Institute Websites:
ATLAS-Canada
ATLAS Home
Alberta
UBC
Carleton
IPP
McGill
Montreal
SFU
Toronto
TRIUMF
UVic
York
Create New Topic
Search
Copyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback