Posts for the month of March 2013

How to install the certificate in CE/SE

Create the request certificates for CE/SE with the following commands:

[root@computer~]$ openssl pkcs12 -clcerts -nokeys -in cert.p12 -out hostcert.pem
[root@computer~]$ openssl pkcs12 -clcerts -nodes -in cert.p12 -out hostkey.pem
[root@computer~]$ chmod 400 hostkey.pem
[root@computer~]$ chmod 644 hostcert.pem

En 2017:

Se copia directamente

cp ce01.key hostkey.pem
cp ce01_macc_unican.es.crt  hostcert.pem
  • On CE, the host certificate has to be available in :
    $ ls -l /etc/grid-security/*pem
    -rw-r--r-- 1 root   root   1939 Mar 18 11:06 /etc/grid-security/hostcert.pem
    -r-------- 1 root   root   3782 Mar 18 11:06 /etc/grid-security/hostkey.pem
    -rw-r--r-- 1 tomcat tomcat 1939 Mar 18 11:08 /etc/grid-security/tomcat-cert.pem
    -r-------- 1 tomcat tomcat 3782 Mar 18 11:08 /etc/grid-security/tomcat-key.pem
    
    
    $ ls -l /home/glite/.certs
    total 8
    -rw-r--r-- 1 glite glite 1939 Mar 18 12:00 hostcert.pem
    -r-------- 1 glite glite 3782 Mar 18 11:10 hostkey.pem
    

En 2017: /var/lib/glite/.certs

  • On SE, the host certificate has to be available in several places:
    $ ls -l /etc/grid-security/host*
    -rw-r--r-- 1 root root 1609 Jan 22 13:34 /etc/grid-security/hostcert.pem
    -r-------- 1 root root 1077 Jan 22 13:33 /etc/grid-security/hostkey.pem
    
    $ ls -l /etc/grid-security/dpmmgr/
    total 8
    -rw-r--r-- 1 dpmmgr dpmmgr 1609 Jan 22 13:34 dpmcert.pem
    -r-------- 1 dpmmgr dpmmgr 1077 Jan 22 13:33 dpmkey.pem
    
    $ ls -l /var/lib/ldap/.globus/
    total 8
    -rw-r--r-- 1 ldap ldap 1609 Jan 22 13:34 usercert.pem
    -r-------- 1 ldap ldap 1077 Jan 22 13:33 userkey.pem
    
    $ ls -l /home/edginfo/.globus/
    total 8
    -rw-r--r-- 1 edginfo edginfo 1609 Jan 22 13:34 usercert.pem
    -r-------- 1 edginfo edginfo 1077 Jan 22 13:33 userkey.pem
    
    $ ls -l /home/edguser/.globus/
    total 8
    -rw-r--r-- 1 edguser edguser 1609 Jan 22 13:34 usercert.pem
    -r-------- 1 edguser edguser 1077 Jan 22 13:33 userkey.pem
    
  • Posted: 2013-03-18 11:19 (Updated: 2017-03-30 13:25)
  • Author: carlos
  • Categories: (none)
  • Comments (307)

The new Specs-Euporias Data Portal

Please drop her all your comments.

  • Posted: 2013-03-15 18:03
  • Author: antonio
  • Categories: (none)
  • Comments (279)