缺乏ssl證書認證本地獲取的問題致使,解決辦法以下:緩存
執行命令:yum install -y ca-certificatesthis
提示安裝ca證書:spa
[root@guang ~]# yum install ca-certificates
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ca-certificates.noarch 0:2010.63-3.el6_1.5 will be updated
---> Package ca-certificates.noarch 0:2018.2.22-65.1.el6 will be an update
--> Processing Dependency: p11-kit-trust >= 0.18.4-2 for package: ca-certificates-2018.2.22-65.1.el6.noarch
--> Processing Dependency: p11-kit >= 0.18.4-2 for package: ca-certificates-2018.2.22-65.1.el6.noarch
--> Running transaction check
---> Package p11-kit.x86_64 0:0.18.5-2.el6_5.2 will be installed
---> Package p11-kit-trust.x86_64 0:0.18.5-2.el6_5.2 will be installed
--> Processing Conflict: p11-kit-trust-0.18.5-2.el6_5.2.x86_64 conflicts nss < 3.14.3-33
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package nss.x86_64 0:3.14.0.0-12.el6 will be updated
--> Processing Dependency: nss = 3.14.0.0-12.el6 for package: nss-tools-3.14.0.0-12.el6.x86_64
--> Processing Dependency: nss = 3.14.0.0-12.el6 for package: nss-sysinit-3.14.0.0-12.el6.x86_64
---> Package nss.x86_64 0:3.36.0-9.el6_10 will be an update
--> Processing Dependency: nss-util >= 3.36.0 for package: nss-3.36.0-9.el6_10.x86_64
--> Processing Dependency: nss-softokn(x86-64) >= 3.14.3-22 for package: nss-3.36.0-9.el6_10.x86_64
--> Processing Dependency: nspr >= 4.19.0 for package: nss-3.36.0-9.el6_10.x86_64
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.33)(64bit) for package: nss-3.36.0-9.el6_10.x86_64
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.31)(64bit) for package: nss-3.36.0-9.el6_10.x86_64
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.24)(64bit) for package: nss-3.36.0-9.el6_10.x86_64
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.21)(64bit) for package: nss-3.36.0-9.el6_10.x86_64
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.17.1)(64bit) for package: nss-3.36.0-9.el6_10.x86_64
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.15)(64bit) for package: nss-3.36.0-9.el6_10.x86_64
--> Running transaction check
---> Package nspr.x86_64 0:4.9.2-1.el6 will be updated
---> Package nspr.x86_64 0:4.19.0-1.el6 will be an update
---> Package nss-softokn.x86_64 0:3.12.9-11.el6 will be updated
---> Package nss-softokn.x86_64 0:3.14.3-23.3.el6_8 will be an update
--> Processing Dependency: nss-softokn-freebl(x86-64) >= 3.14.3-23.3.el6_8 for package: nss-softokn-3.14.3-23.3.el6_8.x86_64
---> Package nss-sysinit.x86_64 0:3.14.0.0-12.el6 will be updated
---> Package nss-sysinit.x86_64 0:3.36.0-9.el6_10 will be an update
---> Package nss-tools.x86_64 0:3.14.0.0-12.el6 will be updated
---> Package nss-tools.x86_64 0:3.36.0-9.el6_10 will be an update
---> Package nss-util.x86_64 0:3.14.0.0-2.el6 will be updated
---> Package nss-util.x86_64 0:3.36.0-1.el6 will be an update
--> Running transaction check
---> Package nss-softokn-freebl.x86_64 0:3.12.9-11.el6 will be updated
---> Package nss-softokn-freebl.x86_64 0:3.14.3-23.3.el6_8 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================
Updating:
ca-certificates noarch 2018.2.22-65.1.el6 base 930 k
nss x86_64 3.36.0-9.el6_10 updates 865 k
Installing for dependencies:
p11-kit x86_64 0.18.5-2.el6_5.2 base 94 k
p11-kit-trust x86_64 0.18.5-2.el6_5.2 base 71 k
Updating for dependencies:
nspr x86_64 4.19.0-1.el6 base 114 k
nss-softokn x86_64 3.14.3-23.3.el6_8 base 262 k
nss-softokn-freebl x86_64 3.14.3-23.3.el6_8 base 168 k
nss-sysinit x86_64 3.36.0-9.el6_10 updates 53 k
nss-tools x86_64 3.36.0-9.el6_10 updates 460 k
nss-util x86_64 3.36.0-1.el6 base 72 k
Transaction Summary
=============================================================================================================================================================
Install 2 Package(s)
Upgrade 8 Package(s)
Total download size: 3.0 M
Is this ok [y/N]: y
Downloading Packages:
(1/10): ca-certificates-2018.2.22-65.1.el6.noarch.rpm | 930 kB 00:00
(2/10): nspr-4.19.0-1.el6.x86_64.rpm | 114 kB 00:00
(3/10): nss-3.36.0-9.el6_10.x86_64.rpm | 865 kB 00:01
(4/10): nss-softokn-3.14.3-23.3.el6_8.x86_64.rpm | 262 kB 00:00
(5/10): nss-softokn-freebl-3.14.3-23.3.el6_8.x86_64.rpm | 168 kB 00:00
(6/10): nss-sysinit-3.36.0-9.el6_10.x86_64.rpm | 53 kB 00:00
(7/10): nss-tools-3.36.0-9.el6_10.x86_64.rpm | 460 kB 00:00
(8/10): nss-util-3.36.0-1.el6.x86_64.rpm | 72 kB 00:00
(9/10): p11-kit-0.18.5-2.el6_5.2.x86_64.rpm | 94 kB 00:00
(10/10): p11-kit-trust-0.18.5-2.el6_5.2.x86_64.rpm | 71 kB 00:00
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 385 kB/s | 3.0 MB 00:08
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : nspr-4.19.0-1.el6.x86_64 1/18
Updating : nss-util-3.36.0-1.el6.x86_64 2/18
Updating : nss-softokn-freebl-3.14.3-23.3.el6_8.x86_64 3/18
Installing : p11-kit-0.18.5-2.el6_5.2.x86_64 4/18
Updating : nss-softokn-3.14.3-23.3.el6_8.x86_64 5/18
Updating : nss-3.36.0-9.el6_10.x86_64 6/18
Updating : nss-sysinit-3.36.0-9.el6_10.x86_64 7/18
Installing : p11-kit-trust-0.18.5-2.el6_5.2.x86_64 8/18
Updating : ca-certificates-2018.2.22-65.1.el6.noarch 9/18
Updating : nss-tools-3.36.0-9.el6_10.x86_64 10/18
Cleanup : nss-tools-3.14.0.0-12.el6.x86_64 11/18
Cleanup : ca-certificates-2010.63-3.el6_1.5.noarch 12/18
Cleanup : nss-3.14.0.0-12.el6.x86_64 13/18
Cleanup : nss-sysinit-3.14.0.0-12.el6.x86_64 14/18
Cleanup : nss-softokn-3.12.9-11.el6.x86_64 15/18
Cleanup : nss-util-3.14.0.0-2.el6.x86_64 16/18
Cleanup : nspr-4.9.2-1.el6.x86_64 17/18
Cleanup : nss-softokn-freebl-3.12.9-11.el6.x86_64 18/18
Verifying : p11-kit-0.18.5-2.el6_5.2.x86_64 1/18
Verifying : nss-sysinit-3.36.0-9.el6_10.x86_64 2/18
Verifying : nss-util-3.36.0-1.el6.x86_64 3/18
Verifying : nss-softokn-3.14.3-23.3.el6_8.x86_64 4/18
Verifying : nss-tools-3.36.0-9.el6_10.x86_64 5/18
Verifying : ca-certificates-2018.2.22-65.1.el6.noarch 6/18
Verifying : nss-softokn-freebl-3.14.3-23.3.el6_8.x86_64 7/18
Verifying : nspr-4.19.0-1.el6.x86_64 8/18
Verifying : nss-3.36.0-9.el6_10.x86_64 9/18
Verifying : p11-kit-trust-0.18.5-2.el6_5.2.x86_64 10/18
Verifying : nss-tools-3.14.0.0-12.el6.x86_64 11/18
Verifying : nss-3.14.0.0-12.el6.x86_64 12/18
Verifying : nss-util-3.14.0.0-2.el6.x86_64 13/18
Verifying : ca-certificates-2010.63-3.el6_1.5.noarch 14/18
Verifying : nss-sysinit-3.14.0.0-12.el6.x86_64 15/18
Verifying : nspr-4.9.2-1.el6.x86_64 16/18
Verifying : nss-softokn-freebl-3.12.9-11.el6.x86_64 17/18
Verifying : nss-softokn-3.12.9-11.el6.x86_64 18/18
Dependency Installed:
p11-kit.x86_64 0:0.18.5-2.el6_5.2 p11-kit-trust.x86_64 0:0.18.5-2.el6_5.2
Updated:
ca-certificates.noarch 0:2018.2.22-65.1.el6 nss.x86_64 0:3.36.0-9.el6_10
Dependency Updated:
nspr.x86_64 0:4.19.0-1.el6 nss-softokn.x86_64 0:3.14.3-23.3.el6_8 nss-softokn-freebl.x86_64 0:3.14.3-23.3.el6_8
nss-sysinit.x86_64 0:3.36.0-9.el6_10 nss-tools.x86_64 0:3.36.0-9.el6_10 nss-util.x86_64 0:3.36.0-1.el6
Complete!
debug
再執行以前報錯的yum命令便可。ssl