Certificate to UI: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
mkdir .globus | mkdir .globus | ||
- Copy the certificate in *.p12 format to any mX machine | - Copy the certificate in *.p12 format to any mX machine | ||
scp cert.p12 $USER@ | scp cert.p12 $USER@mshort.iihe.ac.be:.globus/cert.p12 | ||
- Change it to private/public keys with openssl (do not replace <user> with yours, the key and cert '''must''' be named ''userkey'' & ''usercert'') | - 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 ~/.globus/cert.p12 -out ~/.globus/userkey.pem | openssl pkcs12 -nocerts -in ~/.globus/cert.p12 -out ~/.globus/userkey.pem |
Revision as of 13:04, 22 March 2023
- Create a .globus directory in your home directory on the mX machines
mkdir .globus
- Copy the certificate in *.p12 format to any mX machine
scp cert.p12 $USER@mshort.iihe.ac.be:.globus/cert.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 ~/.globus/cert.p12 -out ~/.globus/userkey.pem openssl pkcs12 -clcerts -nokeys -in ~/.globus/cert.p12 -out ~/.globus/usercert.pem
- Make sure they have the correct permissions
chmod 400 ~/.globus/userkey.pem chmod 644 ~/.globus/usercert.pem