Certificate to UI: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
- Copy the certificate you extracted from your browser to any mX machine | - Copy the certificate you extracted from your browser to any mX machine | ||
scp mycert.p12 $USER@m0.iihe.ac.be:.globus/mycert.p12 | scp mycert.p12 $USER@m0.iihe.ac.be:.globus/mycert.p12 | ||
- Change it to private/public keys with openssl | - Change it to private/public keys with openssl (do not replace <user> with yours, the key and cert '''must''' be named ''userkey'' & ''usercert'') | ||
openssl pkcs12 -nocerts -in mycert.p12 -out ~/.globus/userkey.pem | openssl pkcs12 -nocerts -in mycert.p12 -out ~/.globus/userkey.pem | ||
openssl pkcs12 -clcerts -nokeys -in mycert.p12 -out ~/.globus/usercert.pem | openssl pkcs12 -clcerts -nokeys -in mycert.p12 -out ~/.globus/usercert.pem |
Revision as of 14:26, 21 January 2020
- Create a .globus directory in your home directory on the mX machines
mkdir .globus
- Copy the certificate you extracted from your browser to any mX machine
scp mycert.p12 $USER@m0.iihe.ac.be:.globus/mycert.p12
- Change it to private/public keys with openssl (do not replace <user> with yours, the key and cert must be named userkey & usercert)
openssl pkcs12 -nocerts -in mycert.p12 -out ~/.globus/userkey.pem openssl pkcs12 -clcerts -nokeys -in mycert.p12 -out ~/.globus/usercert.pem
- Make sure they have the correct permissions
chmod 400 ~/.globus/userkey.pem chmod 644 ~/.globus/usercert.pem