hidden:Install new certificates on HPSS GridFTP servers: Difference between revisions

From Lsdf
Jump to navigationJump to search
No edit summary
No edit summary
Line 3: Line 3:
[root@archive-sftp-02 grid-security]# mv hostcert.pem
[root@archive-sftp-02 grid-security]# mv hostcert.pem
hostcert.pem.old.06.07.2016
hostcert.pem.old.06.07.2016

[root@archive-sftp-02 grid-security]# mv hostkey.pem
[root@archive-sftp-02 grid-security]# mv hostkey.pem
hostkey.pem.old.06.07.2016
hostkey.pem.old.06.07.2016
[root@archive-sftp-02 grid-security]# openssl pkcs12 -clcerts -nokeys -in archive-sftp-02.lsdf.kit.edu.07.07.2102.p12 -out hostcert.pem

[root@archive-sftp-02 grid-security]# openssl pkcs12 -clcerts -nokeys
-in archive-sftp-02.lsdf.kit.edu.07.07.2102.p12 -out hostcert.pem

Enter Import Password:
Enter Import Password:

MAC verified OK
MAC verified OK
[root@archive-sftp-02 grid-security]# openssl pkcs12 -nocerts -nodes -in archive-sftp-02.lsdf.kit.edu.07.07.2102.p12 -out hostkey.pem

Enter Import Password:
[root@archive-sftp-02 grid-security]# openssl pkcs12 -nocerts -nodes -in
archive-sftp-02.lsdf.kit.edu.07.07.2102.p12 -out hostkey.pem

Enter Import Password:

MAC verified OK
MAC verified OK

[root@archive-sftp-02 grid-security]#
[root@archive-sftp-02 grid-security]#

[root@archive-sftp-02 grid-security]# chmod 600 hostcert.pem
[root@archive-sftp-02 grid-security]# chmod 600 hostcert.pem

[root@archive-sftp-02 grid-security]# chmod 600 hostkey.pem
[root@archive-sftp-02 grid-security]# chmod 600 hostkey.pem

Revision as of 13:57, 24 August 2016

HPSS GridFTP servers:archive-sftp-01/02.lsdf.kit.edu
[root@archive-sftp-02 grid-security]# mv hostcert.pem
hostcert.pem.old.06.07.2016
[root@archive-sftp-02 grid-security]# mv hostkey.pem
hostkey.pem.old.06.07.2016
[root@archive-sftp-02 grid-security]# openssl pkcs12 -clcerts -nokeys -in archive-sftp-02.lsdf.kit.edu.07.07.2102.p12 -out hostcert.pem
Enter Import Password:
MAC verified OK
[root@archive-sftp-02 grid-security]# openssl pkcs12 -nocerts -nodes -in archive-sftp-02.lsdf.kit.edu.07.07.2102.p12 -out hostkey.pem
Enter Import Password: 
MAC verified OK
[root@archive-sftp-02 grid-security]#
[root@archive-sftp-02 grid-security]# chmod 600  hostcert.pem
[root@archive-sftp-02 grid-security]# chmod 600 hostkey.pem