Professional Documents
Culture Documents
d]# cd /etc/pki/tls
[root@server0 tls]# ll
總計 12
lrwxrwxrwx. 1 root root 49 May 7 2014 cert.pem ->
/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
drwxr-xr-x. 2 root root 112 May 7 2014 certs
drwxr-xr-x. 2 root root 69 May 7 2014 misc
-rw-r--r--. 1 root root 10923 Apr 8 2014 openssl.cnf
drwxr-xr-x. 2 root root 6 Apr 8 2014 private
[root@server0 tls]# cd private/
[root@server0 private]# ll
總計 0
[root@server0 private]# wget
http://classroom.example.com/pub/tls/private/server0.key
--2018-03-18 00:24:36-- http://classroom.example.com/pub/tls/private/server0.key
正在查找主機 classroom.example.com (classroom.example.com)... 172.25.254.254
正在連接 classroom.example.com (classroom.example.com)|172.25.254.254|:80... 連上了。
已送出 HTTP 要求,正在等候回應... 200 OK
長度: 916
Saving to: ‘server0.key’
[root@server0 certs]# ll
總計 20
lrwxrwxrwx. 1 root root 49 May 7 2014 ca-bundle.crt ->
/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
lrwxrwxrwx. 1 root root 55 May 7 2014 ca-bundle.trust.crt -> /etc/pki/ca-
trust/extracted/openssl/ca-bundle.trust.crt
-rw-r--r--. 1 root root 1220 Jan 7 2015 example-ca.crt
-rwxr-xr-x. 1 root root 610 Apr 8 2014 make-dummy-cert
-rw-r--r--. 1 root root 2388 Apr 8 2014 Makefile
-rwxr-xr-x. 1 root root 829 Apr 8 2014 renew-dummy-cert
-rw-r--r--. 1 root root 3505 Jan 7 2015 server0.crt
[root@server0 certs]# cd /etc/httpd/conf.d
[root@server0 conf.d]#
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
mod_ssl x86_64 1:2.4.6-17.el7 rhel_dvd 97 k
Transaction Summary
================================================================================
Install 1 Package
Installed:
mod_ssl.x86_64 1:2.4.6-17.el7
Complete!