Start of topic | Skip to actions
Installing New Host Certificates on CE, SE and MON Grid Nodeslcg-compute.hpc.unimelb.edu.au
# backup original certificate and key - just in case!
$ cd /etc/grid-security/
$ mkdir cert-backup
$ cp host* cert-backup/
# Search the system for any copies of the cert and key
$ updatedb
$ locate cert.pem
/etc/grid-security/hostcert.pem
/etc/grid-security/cert-backup/hostcert.pem
/usr/share/ssl/cert.pem
/opt/glite/var/rgma/.certs/hostcert.pem
# Verify all of these - make sure you know which to replace
$ openssl x509 -in ${hostcert.pem} -noout -text
# copy new cert's into place
# replace all instances and restart services
$ cp host* /opt/glite/var/rgma/.certs/
# run the host cert validity checker to make sure all is well
$ /etc/cron.daily/hostcertValidity
# reboot the computer
$ reboot
koala.unimelb.edu.au
# backup original certificate and key - just in case!
$ cd /etc/grid-security/
$ mkdir cert-backup
$ cp host* cert-backup/
# Search the system for any copies of the cert and key
$ updatedb
$ locate cert.pem
/etc/grid-security/dpmmgr/dpmcert.pem
/etc/grid-security/hostcert.pem
/etc/grid-security/cert-backup/hostcert.pem
/usr/share/ssl/cert.pem
/home/edginfo/.globus/usercert.pem
# Verify all of these - make sure you know which to replace
$ openssl x509 -in ${hostcert.pem} -noout -text
# copy new cert's into place
# replace all instances
$ cp host* dpmmgr/
$ cd dpmmgr/
$ mv hostcert.pem dpmcert.pem
$ mv hostkey.pem dpmkey.pem
$ chown dpmmgr:dpmmgr *
$ cp host* /home/edginfo/.globus/
$ cd /home/edginfo/.globus/
$ mv hostcert.pem usercert.pem
$ mv hostkey.pem userkey.pem
$ chown edginfo:edginfo *
$ cp host* /opt/glite/var/rgma/.certs/
# run the host cert validity checker to make sure all is well
$ /etc/cron.daily/hostcertValidity
# restart dpm services
cd /root/bin
./restartDPMServices.sh
lcg-monitor.hpc.unimelb.edu.au
# backup original certificate and key - just in case!
$ cd /etc/grid-security/
$ mkdir cert-backup
$ cp host* cert-backup/
# Search the system for any copies of the cert and key
$ updatedb
$ locate cert.pem
/etc/tomcat5/hostcert.pem
/etc/grid-security/hostcert.pem
/etc/grid-security/cert-backup/hostcert.pem
/usr/share/ssl/cert.pem
/opt/glite/var/rgma/.certs/hostcert.pem
# Verify all of these - make sure you know which to replace
$ openssl x509 -in ${hostcert.pem} -noout -text
# copy new cert's into place
# replace all instances
$ cp host* /etc/tomcat5/
$ cp host* /opt/glite/var/rgma/.certs/
$ /etc/init.d/tomcat5 restart
# run the host cert validity checker to make sure all is well
$ /etc/cron.daily/hostcertValidity
# reboot the computer
$ reboot
| |