/etc/pki/tls/private/
and /etc/pki/tls/certs/
directories respectively. You can do so by typing the following commands:
~]#mv
key_file
.key/etc/pki/tls/private/
~]#hostname
.keymv
certificate
.crt/etc/pki/tls/certs/
hostname
.crt
/etc/httpd/conf.d/ssl.conf
configuration file:
SSLCertificateFile /etc/pki/tls/certs/hostname
.crt SSLCertificateKeyFile /etc/pki/tls/private/hostname
.key
httpd
service as described in Section 11.2.3, “Restarting the Service”.
~]#mv /etc/httpd/conf/httpsd.key /etc/pki/tls/private/penguin.example.com.key
~]#mv /etc/httpd/conf/httpsd.crt /etc/pki/tls/certs/penguin.example.com.crt