---+ How to change your grid certificate password %BR%%BR%%BR%%BR%%BR% %X% *WARNING:* This page is obsolete. %BR%%BR%%BR%%BR%%BR% eg. if I have a grid certificate and I want to change its password to something I remember better ... ---++ Step 1: Save Original files * [[GridCertificatePreliminaryPrecautions][Follow this]] ---++ Step 2: Create p12 File You will be asked for a password for the p12 file. <verbatim> mv ~/.globus/myCert.p12 ~/.globus/myCert.p12.deleteAfter openssl pkcs12 -export -in ~/.globus/usercert.pem -inkey ~/.globus/userkey.pem -out ~/.globus/myCert.p12 -name "My Grid User Certificate"</verbatim> ---++ Step 3: Create New pem Files You will be asked for a new password for the newly generated userkey.pem file <verbatim> mv ~/.globus/usercert.pem ~/.globus/usercert.pem.deleteAfter mv ~/.globus/userkey.pem ~/.globus/userkey.pem.deleteAfter openssl pkcs12 -clcerts -nokeys -in ~/.globus/myCert.p12 -out ~/.globus/usercert.pem openssl pkcs12 -nocerts -in ~/.globus/myCert.p12 -out ~/.globus/userkey.pem</verbatim> ---++ Step 4: Change Protections <verbatim> cd ~/.globus chmod 400 userkey.pem *.p12 chmod 444 usercert.pem</verbatim> ---++ Step 5: Test * [[TestingAndSupport][Follow this]] ---++ Step 6: Cleanup You can delete the obsolete files if the tests in the previous step work. <verbatim> cd ~/.globus chmod 600 *.deleteAfter rm -f *.deleteAfter</verbatim> -- Main.AsokaDeSilva - 2012-04-23
This topic: AtlasCanada
>
ComputingPage
>
GridUserCertificateInformation
>
ChangeGridCertificatePassword
Topic revision: r4 - 2026-10-05 - AsokaDeSilva
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