我正面临这问题。实际上,我正尝试在 Cent OS 生产服务器中禁用 SSLV3 并启用 TLS 1.2。我发现了完全相同的问题这里。
[root@186-aven-vps ~]# openssl s_client -connect kickmarket.eu:443 -ssl3
socket: Connection refused
connect:errno=111
所以我尝试在上面提到的链接中接受答案
[root@186-aven-vps ~]# nmap kickmarket.eu
Starting Nmap 6.40 ( http://nmap.org ) at 2015-10-27 04:16 GMT
Nmap scan report for kickmarket.eu (46.4.213.86)
Host is up (0.000010s latency).
rDNS record for 46.4.213.86: 186-aven-vps.mde.ie
Not shown: 986 closed ports
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
53/tcp open domain
80/tcp open http
110/tcp open pop3
143/tcp open imap
465/tcp open smtps
587/tcp open submission
993/tcp open imaps
995/tcp open pop3s
3306/tcp open mysql
10000/tcp open snet-sensor-mgmt
20000/tcp open dnp
Nmap done: 1 IP address (1 host up) scanned in 0.10 seconds
但看不到端口 443 上运行的 openssl。以下是我的一些信息
[root@186-aven-vps ~]# openssl version
OpenSSL 1.0.1e-fips 11 Feb 2013
[root@186-aven-vps ~]# yum info openssl
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.softaculous.com
* epel: mirrors.n-ix.net
* extras: centosmirror.netcup.net
* rpmforge: mirror.de.leaseweb.net
* updates: mirror.23media.de
Installed Packages
Name : openssl
Arch : x86_64
Epoch : 1
Version : 1.0.1e
Release : 42.el7.9
Size : 1.5 M
Repo : installed
From repo : updates
Summary : Utilities from the general purpose cryptography library with TLS implementation
URL : http://www.openssl.org/
License : OpenSSL
Description : The OpenSSL toolkit provides support for secure communications between
: machines. OpenSSL includes a certificate management tool and shared
: libraries which provide various cryptographic algorithms and
: protocols.
答案1
由于连接被拒绝,因此该地址没有服务器,或者防火墙阻止了连接。从您提供的信息来看,没有什么可说的,但是
- 检查您是否确实有一个服务器在端口 443 上运行:
netstat -lnt
服务器上的机器会告诉您端口 443 上是否有某个服务器。 - 如果没有服务器,请确保已正确配置它(查找错误消息)